Commit 2e38dda2 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix exception when job list is empty

parent 91e622ad
Pipeline #58384 failed with stage
......@@ -662,7 +662,7 @@ class AllgoAio:
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