Fix unicode error in pdf media type

(we're checking against bytestrings, so make that explicit)
This commit is contained in:
Christopher Allan Webber 2014-09-12 09:30:46 -05:00
parent b6df960806
commit 99c466045a

View File

@ -141,7 +141,7 @@ def is_unoconv_working():
except OSError:
_log.warn(_('unoconv failing to run, check log file'))
return False
if 'ERROR' in output:
if b'ERROR' in output:
return False
return True