diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/migrate_existing_data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/migrate_existing_data.py b/scripts/migrate_existing_data.py index 5097488..0741940 100644 --- a/scripts/migrate_existing_data.py +++ b/scripts/migrate_existing_data.py @@ -41,8 +41,8 @@ def choose_admin(enum_admins: dict[int, User]) -> int: print("We found the following system administrators:") for idx, admin in enum_admins.items(): print(f"\t{idx}: {admin.name} ({admin.email})") - choice = input(f"Choose [1 .. {len(enum_admins)}]: ") - return int(choice) + choice = input(f"Choose [1 .. {len(enum_admins)}]: ") + return int(choice) except ValueError as _verr: if choice.lower() == "quit": print("Goodbye!") |