Update files_api.py

This commit is contained in:
midoks 2021-11-12 20:25:08 +08:00
parent 8295ad0e0f
commit c5ea6b9c88
1 changed files with 3 additions and 0 deletions

View File

@ -711,6 +711,9 @@ done
fp.write(data)
fp.close()
if path.find("web_conf") > 0:
mw.restartWeb()
mw.writeLog('文件管理', '文件保存成功', (path,))
return mw.returnJson(True, '文件保存成功')
except Exception as ex: