fix
This commit is contained in:
@@ -440,6 +440,7 @@ def make_plot(r,w,f1,f2,plottype,title,imagename='',plotnr=0):
|
||||
'timeplot':1,
|
||||
'distanceplot':2,
|
||||
'pieplot':3,
|
||||
'None':0,
|
||||
}
|
||||
|
||||
axis = r.staticgrids
|
||||
@@ -451,6 +452,8 @@ def make_plot(r,w,f1,f2,plottype,title,imagename='',plotnr=0):
|
||||
|
||||
if plotnr == 0:
|
||||
plotnr = plotnrs[plottype]
|
||||
if plotnr == 0:
|
||||
return 0,0
|
||||
|
||||
if w.workouttype in otwtypes:
|
||||
plotnr = plotnr+3
|
||||
|
||||
Reference in New Issue
Block a user