Private
Public Access
1
0

Merge branch 'develop' of bitbucket.org:sanderroosendaal/rowsandall into develop

This commit is contained in:
Sander Roosendaal
2020-07-01 09:22:46 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -2076,7 +2076,7 @@ def leaflet_chart_compare(course,workoutids,labeldict={},startenddict={}):
'time':time-time[0],
})
data.append(df)
except Workout.DoesNotExist:
except (Workout.DoesNotExist,KeyError):
pass

View File

@@ -450,6 +450,8 @@ def handle_check_race_course(self,
t = time.localtime()
timestamp = time.strftime('%b-%d-%Y_%H%M', t)
f.write('\n')
f.write('Course id {n}, Record id {m}'.format(n=courseid,m=recordid))
f.write('\n')
f.write(timestamp)
f.write(' ')
f.write('Found {n} entrytimes'.format(n=len(entrytimes)))