From 152461075dea5fc0eb908072aebd6244401bcea4 Mon Sep 17 00:00:00 2001 From: basiliskus Date: Tue, 4 May 2021 13:12:18 -0700 Subject: [PATCH] update columns --- extract.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extract.py b/extract.py index 68fa362..6673936 100644 --- a/extract.py +++ b/extract.py @@ -77,15 +77,15 @@ def process_work_sheet(values, template): for row in values: #work_json = { "company": "", "position": "", "website": "", "startDate": "", "endDate": "", "summary": "", "highlights": [], "starred": None } work_json = {} - work_json["company"] = row[3] + work_json["company"] = row[4] work_json["position"] = row[2] work_json["website"] = "" work_json["startDate"] = row[0] work_json["endDate"] = row[1] - work_json["location"] = row[4] + work_json["location"] = row[5] work_json["summary"] = "" - work_json["highlights"] = row[5].splitlines() - work_json["starred"] = bool(strtobool(row[8])) + work_json["highlights"] = row[6].splitlines() + work_json["starred"] = bool(strtobool(row[10])) template["work"].append(work_json)