From 9ab91ecc9308774a7a5402b179b34db82b528a47 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 15 Mar 2023 17:48:05 +0800 Subject: [PATCH] Update index.py --- plugins/tgbot/index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/tgbot/index.py b/plugins/tgbot/index.py index ba1b86124..21f16a44d 100755 --- a/plugins/tgbot/index.py +++ b/plugins/tgbot/index.py @@ -237,6 +237,7 @@ def installPreInspection(): def uninstallPreInspection(): + stop() return "请手动删除
rm -rf {}".format(getServerDir()) @@ -350,7 +351,7 @@ if __name__ == "__main__": elif func == 'install_pre_inspection': print(installPreInspection()) elif func == 'uninstall_pre_inspection': - print(uninstallPreInspection(version)) + print(uninstallPreInspection()) elif func == 'get_bot_conf': print(getBotConf()) elif func == 'set_bot_conf':