Keep names short and consistent
This commit is contained in:
parent
f18250fac9
commit
13f193bb13
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue