Commit 360017a9 authored by LETORT Sebastien's avatar LETORT Sebastien

Merge branch '291-discrete-error-on-fresh-install-when-click-on-jobs' into 'django'

Resolve "(discrete) error on fresh install when click on "jobs""

Closes #291

See merge request !156
parents 91e622ad 2e38dda2
Pipeline #58406 failed with stage
......@@ -662,7 +662,7 @@ class AllgoAio:
"""
try:
job_ids = {int(x) for x in request.url.query.getall("id")}
job_ids = {int(x) for x in request.url.query.getall("id", ())}
# limit the number of jobs in a single request
if len(job_ids) > 20:
raise ValueError()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment