Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

uncommented debugging output (which broke the API if app.name contain…

…ed non-ascii characters)
  • Loading branch information...
commit d0b6c76c423ea6843c5306229c4225ec5b7e7142 1 parent a845deb
@gka gka authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 pybossa/api.py
View
4 pybossa/api.py
@@ -197,7 +197,7 @@ def new_task(app_id):
sched = 'default'
# Now get a task using the app sched
if sched == 'default':
- print "%s uses the %s scheduler" % (app.name,sched)
+ # print "%s uses the %s scheduler" % (app.name,sched)
if current_user.is_anonymous():
task = get_default_task(app_id,user_ip=request.remote_addr)
else:
@@ -211,7 +211,7 @@ def new_task(app_id):
task = get_random_task(app_id, user_id=current_user.id)
if sched == 'incremental':
- print "%s uses the %s scheduler" % (app.name,sched)
+ # print "%s uses the %s scheduler" % (app.name,sched)
if current_user.is_anonymous():
task = get_incremental_task(app_id,user_ip=request.remote_addr)
else:
Please sign in to comment.
Something went wrong with that request. Please try again.