removing debug messgs
This commit is contained in:
@@ -97,7 +97,7 @@ def processattachment(rower, fileobj, title, uploadoptions,testing=False):
|
||||
try:
|
||||
print("Stravaid ",uploadoptions['stravaid'])
|
||||
except KeyError:
|
||||
print("no Strava ID")
|
||||
pass
|
||||
|
||||
|
||||
url = settings.UPLOAD_SERVICE_URL
|
||||
@@ -107,7 +107,6 @@ def processattachment(rower, fileobj, title, uploadoptions,testing=False):
|
||||
response_json = response.json()
|
||||
workoutid = [int(response_json['id'])]
|
||||
else:
|
||||
print(response.status_code,response.json())
|
||||
workoutid = [0]
|
||||
|
||||
# this is ugly and needs to be done better
|
||||
|
||||
Reference in New Issue
Block a user