Merge branch 'develop' into feature/uploadpage
This commit is contained in:
@@ -1183,10 +1183,10 @@ def workout_tp_upload_view(request,id=0):
|
||||
message = ""
|
||||
r = Rower.objects.get(user=request.user)
|
||||
res = -1
|
||||
# try:
|
||||
thetoken = tp_open(r.user)
|
||||
# except TPNoTokenError:
|
||||
# return HttpResponseRedirect("/rowers/me/tpauthorize/")
|
||||
try:
|
||||
thetoken = tp_open(r.user)
|
||||
except TPNoTokenError:
|
||||
return HttpResponseRedirect("/rowers/me/tpauthorize/")
|
||||
|
||||
# ready to upload. Hurray
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user