diff options
-rwxr-xr-x | newspipe/commands.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/newspipe/commands.py b/newspipe/commands.py index 3d7becdd..c58c66ae 100755 --- a/newspipe/commands.py +++ b/newspipe/commands.py @@ -45,7 +45,10 @@ def create_admin(nickname, password): "pwdhash": generate_password_hash(password), } with application.app_context(): - UserController(ignore_context=True).create(**admin) + try: + UserController(ignore_context=True).create(**admin) + except Exception as e: + print(e) @application.cli.command("fetch_asyncio") |