Skip to content

Commit

Permalink
Add it to all jobs list.
Browse files Browse the repository at this point in the history
  • Loading branch information
teleyinex committed Aug 16, 2017
1 parent 756cb7a commit eb4866a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybossa/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def get_periodic_jobs(queue):
failed_jobs = get_maintenance_jobs() if queue == 'maintenance' else []
_all = [zip_jobs, jobs, project_jobs, autoimport_jobs,
engage_jobs, non_contrib_jobs, dashboard_jobs,
weekly_update_jobs, failed_jobs]
weekly_update_jobs, failed_jobs, leaderboard_jobs]
return (job for sublist in _all for job in sublist if job['queue'] == queue)


Expand Down

0 comments on commit eb4866a

Please sign in to comment.