Commit 25fa9bd9 authored by Vermaat's avatar Vermaat
Browse files

Merge pull request #106 from mutalyzer/fix-admin-batch-jobs

Fix crash listing zero batch jobs in admin
parents afa9ded0 a9e69782
......@@ -176,6 +176,9 @@ def list_batch_jobs():
if len(batch_jobs_with_counts) < 1:
lengths = {
'id_len': max(len(str( for j, _ in batch_jobs_with_counts),
'type_len': max(len(j.job_type) for j, _ in batch_jobs_with_counts),
Supports Markdown
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