From f7e99e88ae46af4e0430ea02581b5f573de44282 Mon Sep 17 00:00:00 2001
From: Alex Wiens <alex.wiens@uni-paderborn.de>
Date: Thu, 17 Apr 2025 00:33:06 +0200
Subject: [PATCH] prule.daemon: Fix typo

---
 prule/daemon/__main__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/prule/daemon/__main__.py b/prule/daemon/__main__.py
index 821f22c..7b325c4 100644
--- a/prule/daemon/__main__.py
+++ b/prule/daemon/__main__.py
@@ -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
-- 
GitLab