fix
This commit is contained in:
@@ -15,15 +15,6 @@ def default(o): # pragma: no cover
|
|||||||
|
|
||||||
from rowsandall_app.settings import NK_OAUTH_LOCATION
|
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
|
# Send workout to TP
|
||||||
@permission_required('workout.change_workout',fn=get_workout_by_opaqueid,raise_exception=True)
|
@permission_required('workout.change_workout',fn=get_workout_by_opaqueid,raise_exception=True)
|
||||||
def workout_tp_upload_view(request,id=0):
|
def workout_tp_upload_view(request,id=0):
|
||||||
|
|||||||
Reference in New Issue
Block a user