Skip to content

Commit d29209a

Browse files
committed
don't transfer results for tutorials
1 parent a8636a7 commit d29209a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mapswipe_workers/mapswipe_workers/firebase_to_postgres/transfer_results.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ def transfer(current_results):
4343

4444
for project_id in project_id_list:
4545
logger.info(f'{project_id}: Start transfering results')
46+
if 'tutorial' in project_id:
47+
logger.info(f'{project_id}: these are results for a tutorial. we will not transfer these')
48+
continue
4649
results_ref = fb_db.reference(f'v2/results/{project_id}')
4750
truncate_temp_results()
4851

0 commit comments

Comments
 (0)