openpaperwork / pyocr

A Python wrapper for Tesseract and Cuneiform -- Moved to Gnome's Gitlab
https://gitlab.gnome.org/World/OpenPaperwork/pyocr
930 stars 152 forks source link

Fix for dev version of tesseract (i.e. 3.05.00dev) #42

Closed jakubsemerak closed 8 years ago

jakubsemerak commented 8 years ago

Cut off "dev" suffix from the version string. Otherwise it will fail on int conversion and causes error: ValueError: invalid literal for int() with base 10: '00dev'

jflesch commented 8 years ago

Thanks :)