From a8808be9ae4eb9412ccc7cb47da5ec5ba3604d5d Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 24 Feb 2023 05:41:50 +0800 Subject: [PATCH] Update index.py --- plugins/migration_api/index.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/migration_api/index.py b/plugins/migration_api/index.py index f9d6f5900..0e8a3a63b 100755 --- a/plugins/migration_api/index.py +++ b/plugins/migration_api/index.py @@ -364,7 +364,9 @@ class classApi: if os.path.islink(spath): dpath = os.readlink(spath) - mw.buildSoftLink(spath, dpath, True) + # mw.buildSoftLink(spath, dpath, True) + self.send('/files/exec_shell', + {"shell": 'ln -sf "' + spath + '" "' + dpath + '"', "path": "/www"}, 30) return True if not os.path.isdir(spath):