diff options
Diffstat (limited to 'test/LEX/LEX.py')
-rw-r--r-- | test/LEX/LEX.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/LEX/LEX.py b/test/LEX/LEX.py index 975d4e9..1239c6b 100644 --- a/test/LEX/LEX.py +++ b/test/LEX/LEX.py @@ -41,7 +41,7 @@ import sys cmd_opts, args = getopt.getopt(sys.argv[1:], 't', []) for a in args: contents = open(a, 'rb').read() - sys.stdout.write(contents.replace('LEX', 'mylex.py')) + sys.stdout.write(contents.replace(b'LEX', b'mylex.py').decode()) sys.exit(0) """) |