Permalink
Browse files

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

…ed non-ascii characters)
  • Loading branch information...
1 parent a845deb commit d0b6c76c423ea6843c5306229c4225ec5b7e7142 @gka gka committed Aug 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 pybossa/api.py
View
@@ -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:

0 comments on commit d0b6c76

Please sign in to comment.