mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[CI] Format code with Black
This commit is contained in:
parent
67a293e03b
commit
d28f725762
4 changed files with 8 additions and 4 deletions
|
@ -1144,7 +1144,11 @@ class AppQuestion(Question):
|
||||||
apps = app_list(full=True)["apps"]
|
apps = app_list(full=True)["apps"]
|
||||||
|
|
||||||
if self.filter:
|
if self.filter:
|
||||||
apps = [app for app in apps if evaluate_simple_js_expression(self.filter, context=app)]
|
apps = [
|
||||||
|
app
|
||||||
|
for app in apps
|
||||||
|
if evaluate_simple_js_expression(self.filter, context=app)
|
||||||
|
]
|
||||||
|
|
||||||
def _app_display(app):
|
def _app_display(app):
|
||||||
domain_path_or_id = f" ({app.get('domain_path', app['id'])})"
|
domain_path_or_id = f" ({app.get('domain_path', app['id'])})"
|
||||||
|
|
Loading…
Add table
Reference in a new issue