Skip to content

Commit 8a4da16

Browse files
committed
1 parent f6d8177 commit 8a4da16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapswipe_workers/mapswipe_workers/firebase_to_postgres/update_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def update_user_data(user_ids=None):
2121
LIMIT 1
2222
'''
2323
last_updated = pg_db.retr_query(pg_query)
24-
if not last_updated:
24+
if last_updated is None:
2525
# No users in the Postgres database yet.
2626
# Get all users from Firebase.
2727
users = fb_ref.get()

0 commit comments

Comments
 (0)