Private
Public Access
1
0

testing c2 import

This commit is contained in:
Sander Roosendaal
2021-05-12 06:52:53 +02:00
parent 2235b28cd5
commit 4afaa5fd10
8 changed files with 40 additions and 39 deletions

View File

@@ -848,6 +848,9 @@ def get_workout(user,c2id,do_async=False):
data = s.json()['data']
splitdata = None
#with open('c2temp.json','w') as f:
# f.write(json.dumps(s.json()))
# print(s.json())
if 'workout' in data:
if 'splits' in data['workout']: # pragma: no cover