small improvements in c2import
This commit is contained in:
@@ -2794,7 +2794,8 @@ def handle_rp3_async_workout(userid,rp3token,rp3id,startdatetime,debug=False,**k
|
||||
return workoutid
|
||||
|
||||
@app.task
|
||||
def handle_c2_async_workout(alldata,userid,c2token,c2id,debug=False,**kwargs):
|
||||
def handle_c2_async_workout(alldata,userid,c2token,c2id,delaysec,debug=False,**kwargs):
|
||||
time.sleep(delaysec)
|
||||
data = alldata[c2id]
|
||||
splitdata = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user