[work] Fix quoting

This commit is contained in:
lara 2020-06-18 21:42:35 -04:00
parent 9897728497
commit 9ab08ab5f6

View file

@ -191,7 +191,7 @@ def work_end(args):
total_time = day_end - day_start
break_time = total_time - worked_time
with open(TIME_FILE, "a") as f:
f.write("{},{},{},{},{},{}\n".format(
f.write('{},{},{},{},{},"{}"\n'.format(
fields[0],
day_start.strftime("%H:%M"),
start_time.strftime("%H:%M"),