Merge branch 'release/v14.53'
This commit is contained in:
@@ -1555,8 +1555,7 @@ def fitnessfit_chart(workouts,user,workoutmode='water',startdate=None,
|
||||
except:
|
||||
pass
|
||||
|
||||
if len(data) == 0:
|
||||
return '','Insufficient data'
|
||||
|
||||
if len(data)>1:
|
||||
df = pd.concat(data,axis=0)
|
||||
|
||||
@@ -1720,7 +1719,7 @@ def fitnessfit_chart(workouts,user,workoutmode='water',startdate=None,
|
||||
try:
|
||||
script,div = components(plot)
|
||||
except:
|
||||
return '','Insufficient Data'
|
||||
return '','Something went wrong withthe chart'
|
||||
|
||||
return [script,div]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user