Closed danielquinn closed 6 years ago
Thanks :)
I have no release of PyOCR planned for a long time (not much changes currently). Do you need me to make a new release for this one ?
I've already patched Paperless to capture a KeyError
, so there's no rush, but I'd rather not keep that check there if I don't have to as KeyErrors are rather generic and this would capture all cases of them. Anyway, if/when you do a release, please let me know so I can remove the check on my end.
In a case where a
KeyError
is raised, the exception is caught, but then it tried to referenceex.message
, which doesn't exist for KeyErrors in modern versions of Python. Usingstr(ex)
should deliver the same result.