fix
This commit is contained in:
@@ -1270,7 +1270,7 @@ def get_startdatetime_from_c2data(data):
|
||||
except KeyError:
|
||||
rest_time = 0
|
||||
totaltime = totaltime+rest_time
|
||||
|
||||
|
||||
duration = totaltime_sec_to_string(totaltime)
|
||||
starttimeunix = arrow.get(startdatetime).timestamp()-totaltime
|
||||
startdatetime = arrow.get(starttimeunix)
|
||||
|
||||
@@ -15,15 +15,6 @@ def default(o): # pragma: no cover
|
||||
|
||||
from rowsandall_app.settings import NK_OAUTH_LOCATION
|
||||
|
||||
def dologging(s):
|
||||
tstamp = time.localtime()
|
||||
timestamp = time.strftime('%b-%d-%Y %H:%M:%S', tstamp)
|
||||
with open('debuglog.log','a') as f:
|
||||
f.write('\n')
|
||||
f.write(timestamp)
|
||||
f.write(' ')
|
||||
f.write(s)
|
||||
|
||||
# Send workout to TP
|
||||
@permission_required('workout.change_workout',fn=get_workout_by_opaqueid,raise_exception=True)
|
||||
def workout_tp_upload_view(request,id=0):
|
||||
|
||||
Reference in New Issue
Block a user