fixing logged out view
This commit is contained in:
@@ -194,7 +194,10 @@ def get_video_data(w,groups=['basic'],mode='water'):
|
||||
|
||||
for c in columns:
|
||||
if c != 'time':
|
||||
data[c] = df2[c].values.tolist()
|
||||
if dict(rowingmetrics)[c]['numtype'] == 'integer':
|
||||
data[c] = df2[c].astype(int).tolist()
|
||||
else:
|
||||
data[c] = df2[c].values.tolist()
|
||||
metrics[c] = {
|
||||
'name': dict(rowingmetrics)[c]['verbose_name'],
|
||||
'metric': c,
|
||||
|
||||
Reference in New Issue
Block a user