From 8ff2f217b3586aae09d5ae4596346c2eee920d09 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 26 Aug 2023 17:23:34 +0800 Subject: [PATCH] Update index.py --- plugins/webssh/index.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/webssh/index.py b/plugins/webssh/index.py index 2312d8f18..55a339b0a 100755 --- a/plugins/webssh/index.py +++ b/plugins/webssh/index.py @@ -160,7 +160,9 @@ class App(): host_info['ps'] = info_tmp['ps'] # host_info['sort'] = int(info_tmp['sort']) except Exception as e: - print(e) + # print(e) + return mw.returnJson(False, str(e)) + # if os.path.exists(info_file): # os.remove(info_file) # continue