bug fix runkeeper
This commit is contained in:
@@ -110,6 +110,7 @@ def get_workout(user,runkeeperid):
|
|||||||
data = s.json()
|
data = s.json()
|
||||||
except ValueError:
|
except ValueError:
|
||||||
data = {}
|
data = {}
|
||||||
|
return data,"Something went wrong with the workout import"
|
||||||
|
|
||||||
strokedata = pd.DataFrame.from_dict({
|
strokedata = pd.DataFrame.from_dict({
|
||||||
key: pd.Series(value) for key, value in data.items()
|
key: pd.Series(value) for key, value in data.items()
|
||||||
|
|||||||
Reference in New Issue
Block a user