[work] Fix quoting
This commit is contained in:
parent
9897728497
commit
9ab08ab5f6
1 changed files with 1 additions and 1 deletions
2
bin/work
2
bin/work
|
@ -191,7 +191,7 @@ def work_end(args):
|
||||||
total_time = day_end - day_start
|
total_time = day_end - day_start
|
||||||
break_time = total_time - worked_time
|
break_time = total_time - worked_time
|
||||||
with open(TIME_FILE, "a") as f:
|
with open(TIME_FILE, "a") as f:
|
||||||
f.write("{},{},{},{},{},{}\n".format(
|
f.write('{},{},{},{},{},"{}"\n'.format(
|
||||||
fields[0],
|
fields[0],
|
||||||
day_start.strftime("%H:%M"),
|
day_start.strftime("%H:%M"),
|
||||||
start_time.strftime("%H:%M"),
|
start_time.strftime("%H:%M"),
|
||||||
|
|
Loading…
Reference in a new issue