Commit 6553afd2 authored by Fredrik Wendt's avatar Fredrik Wendt

Fix bug that should've limited jobs to 1

parent 4a989056
......@@ -54,7 +54,7 @@ def snatch_grading_work(headless=None):
unclaim_buttons = page.query_selector_all('span:text-is("Release My Claim")')
unclaim_count = len(unclaim_buttons)
log.info(f"Release My Claim buttons: {unclaim_count}")
if unclaim_count > 1:
if unclaim_count > 0:
log.info("Not claiming yet another test")
else:
......
Markdown is supported
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