diff --git a/plugins/migration_api/index.py b/plugins/migration_api/index.py index 1d60e0fca..b3533ece3 100755 --- a/plugins/migration_api/index.py +++ b/plugins/migration_api/index.py @@ -1018,9 +1018,10 @@ def get_src_info(args): data['databases'] = conn.field('id,name,ps').order("id desc").select() data['plugin'] = [] - webssh_dir = mw.getServerDir() + '/webssh' + plugin_webssh_name = "name" + webssh_dir = mw.getServerDir() + '/'+plugin_webssh_name if os.path.exists(webssh_dir): - data['plugin'].append(webssh_dir) + data['plugin'].append(plugin_webssh_name) return data