From 1545f34f1492e5fd215213b78357740fd76d380f Mon Sep 17 00:00:00 2001 From: Stijn Peeters Date: Mon, 9 Oct 2023 16:45:15 +0200 Subject: [PATCH] aaaargh --- common/lib/dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/dataset.py b/common/lib/dataset.py index f33687a06..56936f51c 100644 --- a/common/lib/dataset.py +++ b/common/lib/dataset.py @@ -1310,7 +1310,7 @@ def get_place_in_queue(self): :return int: Queue position """ - if self.is_finished() or not self.data["job"]: + if self.is_finished() or not self.data.get("job"): self.queue_position = -1 return else: