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

fixed exception creation in detect_os #44

Closed tom-zeit closed 8 years ago

tom-zeit commented 8 years ago

Just found this issue, currently the creation of the exception raises the following exception: TypeError: __init__() missing 1 required positional argument: 'message'

jflesch commented 8 years ago

Good catch, thanks :)