zplab / zbar-py

Simple python 2 and 3 compatible interface to the zbar barcode-reading library
MIT License
82 stars 30 forks source link

Assume that iconv is not required if it is not available. #2

Closed erikhvatum closed 8 years ago

erikhvatum commented 8 years ago

On Arch and Ubuntu 16, attempting to link against iconv fails and does not seem to be required. This fix could be improved somewhat, for example by using the stem of the temp file name rather than "aksdfjhawkdjlfhkasdjhfkljasdhfkjahsdf", but isn't too bad for a total freebie, I hope.