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:
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user