Commit 4828e323 authored by Vandan Mujadia's avatar Vandan Mujadia

update

parent 403c1b1f
......@@ -23,7 +23,7 @@ output_file = sys.argv[2]
def read_file(path, isref=False):
_data = []
for line in codecs.open(path):
for line in codecs.open(path, encoding="utf8"):
line = line.strip()
line = line.replace('_','').replace('`','').replace('"','').replace("'",'')
_data.append(line)
......
......@@ -23,7 +23,7 @@ output_file = sys.argv[2]
def read_file(path, isref=False):
_data = []
for line in codecs.open(path):
for line in codecs.open(path, encoding="utf8"):
line = line.strip()
line = line.replace('_','').replace('`','').replace('"','').replace("'",'')
_data.append(line)
......
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