Skip to content

Commit

Permalink
Merge branch 'main' of github.com:CHNZYX/Auto_Simulated_Universe
Browse files Browse the repository at this point in the history
  • Loading branch information
ZYX committed Jul 2, 2024
2 parents 25e5996 + 8472b91 commit 42acfe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/diver/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def check(self, path, x, y, mask=None, threshold=None, large=True):
threshold = self.threshold
path = self.format_path(path)
target = cv.imread(path)
if path == './imgs/f.jpg' and config.mapping[0]!='f':
if path == 'imgs/f.jpg' and config.mapping[0]!='f':
target = self.gen_hotkey_img(config.mapping[0])
threshold -= 0.01
target = cv.resize(
Expand Down Expand Up @@ -1569,4 +1569,4 @@ def bless(self):
time.sleep(1.7)
self.get_screen()
if not self.check("choose_bless", 0.9266, 0.9491, threshold=0.945):
return
return

0 comments on commit 42acfe0

Please sign in to comment.