bug fix
This commit is contained in:
@@ -2074,9 +2074,15 @@ def leaflet_chart_compare(course,workoutids,labeldict={},startenddict={}):
|
|||||||
'lon':rowdata.df[' longitude'],
|
'lon':rowdata.df[' longitude'],
|
||||||
'time':time-time[0],
|
'time':time-time[0],
|
||||||
})
|
})
|
||||||
data.append(df)
|
|
||||||
except Workout.DoesNotExist:
|
except Workout.DoesNotExist:
|
||||||
pass
|
df = pd.DataFrame({
|
||||||
|
'workoutid':id,
|
||||||
|
'lat':[],
|
||||||
|
'lon':[]}
|
||||||
|
)
|
||||||
|
|
||||||
|
data.append(df)
|
||||||
|
|
||||||
|
|
||||||
df = pd.concat(data,axis=0)
|
df = pd.concat(data,axis=0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user