From 3b857833a7e061f632d6416e5c1dfd2ce6e55d51 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 24 Nov 2024 05:18:34 +0800 Subject: [PATCH] update --- plugins/webstats/install.sh | 2 +- web/core/mw.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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