Private
Public Access
1
0

Merge branch 'hotfix/v1.95'

This commit is contained in:
Sander Roosendaal
2017-04-11 12:31:53 +02:00

View File

@@ -326,7 +326,7 @@ def nicepaceformat(values):
# Convert seconds to a Time Delta value, replacing NaN with a 5:50 pace
def timedeltaconv(x):
if not np.isnan(x):
if not np.isnan(x) and x != 0:
dt = datetime.timedelta(seconds=x)
else:
dt = datetime.timedelta(seconds=350.)