Skip to content

Commit

Permalink
Update tesseractserver.py
Browse files Browse the repository at this point in the history
"url" missing from locals when sending via json
  • Loading branch information
gardsted committed Sep 16, 2015
1 parent d214454 commit 4a507d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tesseractserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def post(self):
else:
# parse received json
jsonobj = json.loads(self.request.body)
url = jsonobj["url"]

# force resize to width=150px if the incoming image is too small for better precision
minWidth = 150;
Expand Down

0 comments on commit 4a507d2

Please sign in to comment.