adding some extra logging
This commit is contained in:
@@ -2953,6 +2953,9 @@ def handle_rp3_async_workout(userid,rp3token,rp3id,startdatetime,debug=False,**k
|
||||
@app.task
|
||||
def handle_c2_async_workout(alldata,userid,c2token,c2id,delaysec,defaulttimezone,debug=False,**kwargs):
|
||||
time.sleep(delaysec)
|
||||
with open("c2_auto_import.log","a") as errorlog:
|
||||
timestr = time.strftime("%Y%m%d-%H%M%S")
|
||||
errorlog.write(timestr+' '+str(c2id)+'for userid '+str(userid)+'\r\n')
|
||||
data = alldata[c2id]
|
||||
splitdata = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user