Add note about what first line should be for timelog parser script

This commit is contained in:
mlncn 2021-05-02 12:02:23 -04:00
parent d4edd49862
commit 1d07fe08b9

View file

@ -80,6 +80,7 @@ def record_task(whatdid, start, end=None):
if end is None: if end is None:
end = datetime.now(pytz.utc) end = datetime.now(pytz.utc)
with open('timelog.csv', 'a', newline='') as csvfile: with open('timelog.csv', 'a', newline='') as csvfile:
# TODO make first line started, recorded, description
timewriter = csv.writer(csvfile) timewriter = csv.writer(csvfile)
timewriter.writerow([start, end, whatdid]) timewriter.writerow([start, end, whatdid])