Skip to content

Commit

Permalink
fix: mistaken deleted line in action.py
Browse files Browse the repository at this point in the history
fix #70
  • Loading branch information
NateScarlet committed Jun 21, 2021
1 parent a93c861 commit c6b7141
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auto_derby/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def match_image_until_disappear(
for i in sort(template.match(template.screenshot(max_age=0), *tmpl)):
count += 1
yield i
break # actions will make screenshot outdate
if count == 0:
break

Expand Down

0 comments on commit c6b7141

Please sign in to comment.