We know this is a real array but the spreadsheet puts it as a string
This commit is contained in:
parent
7708c61892
commit
8b617882b1
1 changed files with 4 additions and 2 deletions
|
@ -89,8 +89,10 @@ def parse_harvest_csv(file=None):
|
|||
if (row_count % 20 == 0):
|
||||
print("ON ROW:", row_count)
|
||||
|
||||
issues = parse_notes_section(row['Notes'])
|
||||
issues_dict = split_issues_into_columns(issues)
|
||||
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]))
|
||||
row.update(issues_dict)
|
||||
writer.writerow(row)
|
||||
|
||||
|
|
Loading…
Reference in a new issue