提交 c79ae754 编写于 作者: W WuHaobo

be compatible with Python3

上级 612e0a28
......@@ -85,7 +85,7 @@ def create_operators():
def preprocess(fname, ops):
data = open(fname).read()
data = open(fname, 'rb').read()
for op in ops:
data = op(data)
......
......@@ -67,7 +67,7 @@ def create_operators():
def preprocess(fname, ops):
data = open(fname).read()
data = open(fname, 'rb').read()
for op in ops:
data = op(data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册