Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2017-02-13 19:33:54 +01:00
parent 86b5b88d93
commit 7cef6fdece

View File

@@ -213,7 +213,7 @@ def make_new_workout_from_email(rr,f2,name,cntr=0):
try:
avglat = rowdata.df[' latitude'].mean()
avglon = rowdata.df[' longitude'].mean()
if avglat != 0 and avglon != 0:
if avglat != 0 or avglon != 0:
workouttype = 'water'
except KeyError:
pass