Skip to content

Commit 2849130

Browse files
committed
check for empty user id
1 parent 7488741 commit 2849130

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mapswipe_workers/python_scripts/add_missing_usernames_in_firebase.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,7 @@ def get_all_affected_users():
5353
uid_list = get_all_affected_users()
5454

5555
for uid in uid_list:
56-
update_username(uid)
56+
if len(uid) == 0:
57+
continue
58+
else:
59+
update_username(uid)

0 commit comments

Comments
 (0)