fix(bench-console): Show only apps in namespace
This commit is contained in:
parent
bcbc0d0a7c
commit
3c1b6c66d9
1 changed files with 1 additions and 0 deletions
|
|
@ -502,6 +502,7 @@ def console(context):
|
|||
locals()[app] = __import__(app)
|
||||
except ModuleNotFoundError:
|
||||
failed_to_import.append(app)
|
||||
all_apps.remove(app)
|
||||
|
||||
print("Apps in this namespace:\n{}".format(", ".join(all_apps)))
|
||||
if failed_to_import:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue