fixed
This commit is contained in:
@@ -1025,7 +1025,7 @@ def fetchcp_new(rower,workouts):
|
||||
df = pd.read_parquet(cpfile)
|
||||
df['workout'] = str(workout)
|
||||
data.append(df)
|
||||
except OSError:
|
||||
except:
|
||||
# CP data file doesn't exist yet. has to be created
|
||||
df, delta, cpvalues = setcp(workout)
|
||||
df['workout'] = str(workout)
|
||||
|
||||
@@ -3680,8 +3680,11 @@ def interactive_chart(id=0,promember=0,intervaldata = {}):
|
||||
return [script,div]
|
||||
|
||||
def interactive_chart_video(videodata):
|
||||
try:
|
||||
spm = videodata['spm']
|
||||
except KeyError:
|
||||
return "","No SPM data"
|
||||
|
||||
spm = videodata['spm']
|
||||
time = range(len(spm))
|
||||
|
||||
data = zip(time,spm)
|
||||
|
||||
Reference in New Issue
Block a user