Skip to content

Commit

Permalink
Fixed string concatenation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
glitchassassin committed Dec 7, 2018
1 parent 6700b86 commit 6771f9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Then you can just import Lackey at the head of your Sikuli-script python file:

#### Installing Tesseract OCR ####

OCR features are dependent upon a third-party utility, Tesseract OCR. Installation instructions for your platform [can be found here](https://github.com/tesseract-ocr/tesseract/wiki). On some platforms, you may need to manually add the Tesseract folder to your PATH.
OCR features are dependent upon a third-party utility, Tesseract OCR (v3.05+). Installation instructions for your platform [can be found here](https://github.com/tesseract-ocr/tesseract/wiki). On some platforms, you may need to manually add the Tesseract folder to your PATH.

### General ###

Expand Down
2 changes: 1 addition & 1 deletion lackey/RegionMatching.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(self, target=None):
elif target is not None:
raise TypeError("Unrecognized argument for Pattern()")
def __repr__(self):
return "<Pattern [" + ('image' if self.imagePattern else 'ocr') + "] \"" + self.path + "\" (" + self.similarity + ") >"
return "<Pattern [" + ('image' if self.imagePattern else 'ocr') + "] \"" + self.path + "\" (" + str(self.similarity) + ") >"

def similar(self, similarity):
""" Returns a new Pattern with the specified similarity threshold """
Expand Down

0 comments on commit 6771f9a

Please sign in to comment.