Skip to content

Commit

Permalink
update columns
Browse files Browse the repository at this point in the history
  • Loading branch information
basiliskus committed May 4, 2021
1 parent d9ca771 commit 1524610
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1524610

Please sign in to comment.