Fix unicode error in pdf media type
(we're checking against bytestrings, so make that explicit)
This commit is contained in:
parent
b6df960806
commit
99c466045a
@ -141,7 +141,7 @@ def is_unoconv_working():
|
|||||||
except OSError:
|
except OSError:
|
||||||
_log.warn(_('unoconv failing to run, check log file'))
|
_log.warn(_('unoconv failing to run, check log file'))
|
||||||
return False
|
return False
|
||||||
if 'ERROR' in output:
|
if b'ERROR' in output:
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user