diff --git a/tasks/task/task.py b/tasks/task/task.py index 71d6695..85693df 100644 --- a/tasks/task/task.py +++ b/tasks/task/task.py @@ -23,7 +23,7 @@ class Task(UI): self.device.click(CLAIM) logger.info("Click Claim") continue - if not self.match_color(CLAIMED) and not self.match_color(CLAIMED_ALL): + if self.match_color(CLAIMED) and self.match_color(CLAIMED_ALL): logger.info("All claimed") break