Skip to content

Commit

Permalink
Call class instance method
Browse files Browse the repository at this point in the history
  • Loading branch information
danfoster committed Aug 5, 2020
1 parent 7adadfa commit a7fca20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lackey/RegionMatching.py
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ def findBest(self, pattern):
return best_match
def compare(self, image):
""" Compares the region to the specified image """
return exists(Pattern(image), 0)
return self.exists(Pattern(image), 0)
def findText(self, text, timeout=None):
""" OCR function """
raise NotImplementedError()
Expand Down

0 comments on commit a7fca20

Please sign in to comment.