Skip to content

Commit

Permalink
aaaargh
Browse files Browse the repository at this point in the history
  • Loading branch information
stijn-uva committed Oct 9, 2023
1 parent b3dcffd commit 1545f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lib/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1545f34

Please sign in to comment.