diff --git a/generate_issues.py b/generate_issues.py index 83493af..e8bf51a 100644 --- a/generate_issues.py +++ b/generate_issues.py @@ -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)