summaryrefslogtreecommitdiffstats
path: root/test/DVIPS/DVIPS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/DVIPS/DVIPS.py')
-rw-r--r--test/DVIPS/DVIPS.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/DVIPS/DVIPS.py b/test/DVIPS/DVIPS.py
index b243bfc..256258f 100644
--- a/test/DVIPS/DVIPS.py
+++ b/test/DVIPS/DVIPS.py
@@ -41,7 +41,7 @@ base_name = os.path.splitext(arg[0])[0]
infile = open(arg[0], 'rb')
out_file = open(base_name+'.dvi', 'wb')
for l in infile.readlines():
- if l[:4] != '#tex':
+ if l[:4] != b'#tex':
out_file.write(l)
sys.exit(0)
""")
@@ -55,7 +55,7 @@ base_name = os.path.splitext(arg[0])[0]
infile = open(arg[0], 'rb')
out_file = open(base_name+'.dvi', 'wb')
for l in infile.readlines():
- if l[:6] != '#latex':
+ if l[:6] != b'#latex':
out_file.write(l)
sys.exit(0)
""")
@@ -66,7 +66,7 @@ import sys
infile = open(sys.argv[3], 'rb')
out_file = open(sys.argv[2], 'wb')
for l in infile.readlines():
- if l[:6] != '#dvips':
+ if l[:6] != b'#dvips':
out_file.write(l)
sys.exit(0)
""")