Commit 3962c081 by sikang

bug fix

parent cc07020e
......@@ -339,6 +339,7 @@ class Function:
# 还原
shutil.copy("%s/cache/logo.png" % target, "%s/logo.png" % img_path)
try:
os.remove("%s/script/api_mapping")
shutil.copy("%s/cache/top.png" % target, "%s/top.png" % img_path)
shutil.copy("%s/cache/api_mapping" %
target, "%s/script/api_mapping" % config['root'])
......
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