bug fix
This commit is contained in:
@@ -2064,6 +2064,7 @@ def leaflet_chart(lat,lon,name=""):
|
|||||||
def leaflet_chart_compare(course,workoutids,labeldict={},startenddict={}):
|
def leaflet_chart_compare(course,workoutids,labeldict={},startenddict={}):
|
||||||
data = []
|
data = []
|
||||||
for id in workoutids:
|
for id in workoutids:
|
||||||
|
if id != 0 and id is not None:
|
||||||
try:
|
try:
|
||||||
w = Workout.objects.get(id=id)
|
w = Workout.objects.get(id=id)
|
||||||
rowdata = rdata(w.csvfilename)
|
rowdata = rdata(w.csvfilename)
|
||||||
|
|||||||
Reference in New Issue
Block a user