Private
Public Access
1
0

more logging

This commit is contained in:
Sander Roosendaal
2021-03-02 19:06:12 +01:00
parent 8dde220cf8
commit 05b4d913c4
2 changed files with 7 additions and 1 deletions

View File

@@ -2955,7 +2955,7 @@ def handle_c2_async_workout(alldata,userid,c2token,c2id,delaysec,defaulttimezone
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')
errorlog.write(timestr+' '+str(c2id)+' for userid '+str(userid)+'\r\n')
data = alldata[c2id]
splitdata = None