replacing timestamp with call to timestamp
This commit is contained in:
@@ -350,7 +350,7 @@ def create_async_workout(alldata,user,stravaid,debug=False):
|
||||
|
||||
# Check if workout has stroke data, and get the stroke data
|
||||
|
||||
starttimeunix = arrow.get(rowdatetime).timestamp
|
||||
starttimeunix = arrow.get(rowdatetime).timestamp()
|
||||
|
||||
result = handle_strava_import_stroke_data(
|
||||
title,
|
||||
@@ -630,7 +630,7 @@ def add_workout_from_data(user,importid,data,strokedata,
|
||||
except:
|
||||
title = ''
|
||||
|
||||
starttimeunix = arrow.get(rowdatetime).timestamp
|
||||
starttimeunix = arrow.get(rowdatetime).timestamp()
|
||||
|
||||
res = make_cumvalues(0.1*strokedata['t'])
|
||||
cum_time = res[0]
|
||||
|
||||
Reference in New Issue
Block a user