Keep names short and consistent

This commit is contained in:
mlncn 2021-05-02 18:27:25 -04:00
parent f18250fac9
commit 13f193bb13

View file

@ -74,8 +74,8 @@ def record_task(whatnext, whatdid, start, end=None):
log.writerow(['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) log = csv.writer(csvfile)
timewriter.writerow([start, end, whatdid, whatnext]) log.writerow([start, end, whatdid, whatnext])
def str_minutes(time_diff): def str_minutes(time_diff):
""" Return at least whole seconds from a time difference """ Return at least whole seconds from a time difference