diff --git a/frappe/commands/utils.py b/frappe/commands/utils.py index 19f783eb28..1be2565513 100644 --- a/frappe/commands/utils.py +++ b/frappe/commands/utils.py @@ -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: