Show More
@@ -59,7 +59,7 b' class PDFExporter(LatexExporter):' | |||
|
59 | 59 | command = [c.format(filename=filename) for c in command_list] |
|
60 | 60 | #In windows and python 2.x there is a bug in subprocess.Popen and |
|
61 | 61 | # unicode commands are not supported |
|
62 |
if sys.platform == 'win32' |
|
|
62 | if sys.platform == 'win32' or sys.version_info < (3,0): | |
|
63 | 63 | #We must use cp1252 encoding for calling subprocess.Popen |
|
64 | 64 | #Note that sys.stdin.encoding and encoding.DEFAULT_ENCODING |
|
65 | 65 | # could be different (cp437 in case of dos console) |
General Comments 0
You need to be logged in to leave comments.
Login now