Private
Public Access
1
0

fixed dologging for objects

This commit is contained in:
Sander Roosendaal
2022-01-12 21:46:18 +01:00
parent 9bc1b8110b
commit f8822a0ede

View File

@@ -134,7 +134,10 @@ def dologging(filename,s):
f.write('\n')
f.write(timestamp)
f.write(' ')
f.write(s)
try:
f.write(s)
except TypeError:
f.write(str(s))
def to_pace(pace): # pragma: no cover
minutes, seconds = divmod(pace,60)