Update index.py

pull/856/head
dami 2 months ago
parent 7be14d2d8c
commit 8c4c4a25cb
  1. 2
      plugins/migration_api/index.py

@ -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)

Loading…
Cancel
Save