Even if it's in a tuple
This commit is contained in:
parent
8b617882b1
commit
c1a3e700cb
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ def parse_harvest_csv(file=None):
|
||||||
issue_numbers = parse_notes_section(row['Notes'])
|
issue_numbers = parse_notes_section(row['Notes'])
|
||||||
# issues_dict = split_issues_into_columns(issue_numbers)
|
# issues_dict = split_issues_into_columns(issue_numbers)
|
||||||
# instead:
|
# 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)
|
row.update(issues_dict)
|
||||||
writer.writerow(row)
|
writer.writerow(row)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue