This commit is contained in:
mlncn 2021-05-02 17:51:08 -04:00
parent 810712166d
commit f18250fac9

View file

@ -71,7 +71,7 @@ def record_task(whatnext, whatdid, start, end=None):
if not os.path.isfile(filepath): if not os.path.isfile(filepath):
with open(filepath, 'w', newline='') as csvfile: with open(filepath, 'w', newline='') as csvfile:
log = csv.writer(csvfile) log = csv.writer(csvfile)
log.writewrow(['started', 'recorded', 'description', 'intention']) log.writerow(['started', 'recorded', 'description', 'intention'])
with open(filepath, 'a', newline='') as csvfile: with open(filepath, 'a', newline='') as csvfile:
timewriter = csv.writer(csvfile) timewriter = csv.writer(csvfile)