Commit 7b9da4f1 authored by wanli's avatar wanli

update

parent 3ea59107
...@@ -62,7 +62,7 @@ def get(): ...@@ -62,7 +62,7 @@ def get():
# 读取epk文件,按照格式返回相应结构体数据 # 读取epk文件,按照格式返回相应结构体数据
ret = "" ret = ""
if os.path.exists(result): if os.path.exists(result):
with open(result, "r", "utf-8") as f: with open(result, "r", encoding="utf-8") as f:
ret = f.read() ret = f.read()
return ret return ret
except Exception as e: except Exception as e:
......
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