Commit f87c9915 authored by 段英荣's avatar 段英荣

modify

parent 87c3e0d3
......@@ -56,7 +56,7 @@ class ESPerform(object):
try:
mapping_file_path = os.path.join(
os.path.dirname(__file__),
'..', 'mapping', '%s.json' % (doc_type,))
'..', 'trans2es','mapping', '%s.json' % (doc_type,))
mapping = ''
with open(mapping_file_path, 'r') as f:
for line in f:
......
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