Skip to content

Commit 8f386a7

Browse files
committed
1 parent 9766008 commit 8f386a7

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
@@ -20,7 +20,7 @@ def update_user_data(user_ids=None):
2020
ORDER BY created DESC
2121
LIMIT 1
2222
'''
23-
last_updated = pg_db.retr_query(pg_query)[][]
23+
last_updated = pg_db.retr_query(pg_query)[0][0]
2424
logger.info(f'got last updated timestamp: {last_updated}')
2525

2626
if last_updated is None:

0 commit comments

Comments
 (0)