Skip to content
Snippets Groups Projects
Commit f7e99e88 authored by Alex Wiens's avatar Alex Wiens
Browse files

prule.daemon: Fix typo

parent 2bf8773b
Branches
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ class JobQueueItem:
if type(d) != dict:
return None
item = JobQueueItem(0)
if "ccjobid" not in d or type(d["ccjobid"] != int):
if "ccjobid" not in d or type(d["ccjobid"]) != int:
return None
item.ccjobid = d["ccjobid"]
item.metadata = d["metadata"] if "metadata" in d else None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment