diff --git a/plugins/webstats/install.sh b/plugins/webstats/install.sh index cb14928e0..bb4395bd2 100755 --- a/plugins/webstats/install.sh +++ b/plugins/webstats/install.sh @@ -148,7 +148,7 @@ Install_App() Uninstall_App() { - cd $rootPath && python3 ${rootPath}/plugins/webstats/index.py stop + cd $rootPath && python3 plugins/webstats/index.py stop rm -rf $serverPath/webstats echo "网站统计卸载完成" } diff --git a/web/core/mw.py b/web/core/mw.py index 19921891e..7f827f0e4 100644 --- a/web/core/mw.py +++ b/web/core/mw.py @@ -213,7 +213,7 @@ def writeFile(filename, content, mode='w+'): fp.close() return True except Exception as e: - print(e) + print(getTracebackInfo()) return False