Update index.py

This commit is contained in:
dami
2026-02-01 17:43:09 +08:00
parent 7be14d2d8c
commit 8c4c4a25cb
+1 -1
View File
@@ -1018,7 +1018,7 @@ def get_src_info(args):
data['databases'] = conn.field('id,name,ps').order("id desc").select()
data['plugin'] = []
plugin_webssh_name = "name"
plugin_webssh_name = "webssh"
webssh_dir = mw.getServerDir() + '/'+plugin_webssh_name
if os.path.exists(webssh_dir):
data['plugin'].append(plugin_webssh_name)