diff --git a/mapswipe_workers/python_scripts/add_missing_usernames_in_firebase.py b/mapswipe_workers/python_scripts/add_missing_usernames_in_firebase.py index 182363fa..a308bf54 100644 --- a/mapswipe_workers/python_scripts/add_missing_usernames_in_firebase.py +++ b/mapswipe_workers/python_scripts/add_missing_usernames_in_firebase.py @@ -53,4 +53,7 @@ def get_all_affected_users(): uid_list = get_all_affected_users() for uid in uid_list: - update_username(uid) + if len(uid) == 0: + continue + else: + update_username(uid)