Commit 38f1466c authored by wanliofficial's avatar wanliofficial

update

parent 1edfa1df
......@@ -56,7 +56,7 @@ def get():
print(message)
# 读取epk文件,按照格式返回相应结构体数据
ret = ""
if os.path.exists(result):
if isinstance(result, str) and os.path.exists(result):
with open(result, "rb") as f:
ret = f.read()
return ret
......
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