Skip to content

Commit

Permalink
Argh tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
dhakim87 committed Oct 16, 2020
1 parent 1d042e1 commit 14e8f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microsetta_private_api/db/migration_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def migrate_70(TRN):
linked_barcode = row[0]
TRN.add("INSERT INTO source_barcodes_surveys "
"(barcode, survey_id) "
"VALUES(%s, %s)", linked_barcode, new_survey_id)
"VALUES(%s, %s)", (linked_barcode, new_survey_id))

# Check that we were successful - no offending ids should remain
TRN.add("SELECT DISTINCT survey_id FROM ag_login_surveys "
Expand Down

0 comments on commit 14e8f15

Please sign in to comment.