Fix unicode error in pdf media type
(we're checking against bytestrings, so make that explicit)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user