Even if it's in a tuple

This commit is contained in:
benjamin melançon 2024-10-24 11:17:58 -04:00
parent 8b617882b1
commit c1a3e700cb

View file

@ -92,7 +92,7 @@ def parse_harvest_csv(file=None):
issue_numbers = parse_notes_section(row['Notes'])
# issues_dict = split_issues_into_columns(issue_numbers)
# instead:
issues_dict = dict(zip(issue_fields, [[col for col in [issue_number, '']] for issue_number in issue_numbers]))
issues_dict = dict(zip(issue_fields, [(issue_number, '') for issue_number in issue_numbers]))
row.update(issues_dict)
writer.writerow(row)