Skip to content

Commit 902c765

Browse files
author
matthias_schaub
committed
Use for loop to make code simpler.
1 parent ae5096f commit 902c765

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mapswipe_workers/mapswipe_workers/mapswipe_workers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def run_firebase_to_postgres() -> list:
104104
update_data.update_user_data()
105105
update_data.update_project_data()
106106
project_ids = transfer_results.transfer_results()
107-
[send_progress_notification(project_id) for project_id in project_ids]
107+
for project_id in project_ids:
108+
send_progress_notification(project_id)
108109
return project_ids
109110

110111

0 commit comments

Comments
 (0)