Skip to content

Commit

Permalink
uncommented debugging output (which broke the API if app.name contain…
Browse files Browse the repository at this point in the history
…ed non-ascii characters)
  • Loading branch information
gka committed Aug 2, 2012
1 parent a845deb commit d0b6c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pybossa/api.py
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit d0b6c76

Please sign in to comment.