adding logging in dataprep - for datetime issues
This commit is contained in:
@@ -3167,6 +3167,8 @@ def handle_c2_async_workout(alldata,userid,c2token,c2id,delaysec,defaulttimezone
|
||||
dologging('debuglog.log',s.text)
|
||||
has_strokedata = False
|
||||
|
||||
|
||||
|
||||
if not has_strokedata: # pragma: no cover
|
||||
df = df_from_summary(data)
|
||||
else:
|
||||
@@ -3220,6 +3222,7 @@ def handle_c2_async_workout(alldata,userid,c2token,c2id,delaysec,defaulttimezone
|
||||
velo = 1000./pace
|
||||
|
||||
dologging('debuglog.log','Unix Time Stamp {s}'.format(s=unixtime[0]))
|
||||
#dologging('debuglog.log',json.dumps(s.json()))
|
||||
|
||||
df = pd.DataFrame({'TimeStamp (sec)':unixtime,
|
||||
' Horizontal (meters)': dist2,
|
||||
|
||||
Reference in New Issue
Block a user