Commit 6137c5dc authored by Emmy Vouriot's avatar Emmy Vouriot Committed by Arnaud Fontaine

change bytes to str WIP

parent d8038a0e
......@@ -215,7 +215,7 @@ class PDFDocument(Image):
if process.returncode:
raise ConversionError(
"Error invoking ghostscript.\noutput:%s\nerror:%s" % (output, error))
return output.strip()
return bytes2str(output).strip()
except OSError as e:
if e.errno != errno.ENOENT:
raise
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment