From a6d06b7e66d8bed467d94ffa34407bf255a53d2a Mon Sep 17 00:00:00 2001 From: thsrite Date: Sun, 7 Jul 2024 12:36:38 +0800 Subject: [PATCH] fix --- plugins/filesoftlink/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/filesoftlink/__init__.py b/plugins/filesoftlink/__init__.py index ee79571..28976e8 100644 --- a/plugins/filesoftlink/__init__.py +++ b/plugins/filesoftlink/__init__.py @@ -268,7 +268,7 @@ class FileSoftLink(_PluginBase): # 定向上级文件夹 if str(parent_dir) in str(src_path): src_name = Path(src_path).name - if str(src_name) == str(args): + if str(src_name) in str(args): logger.info(f"开始定向处理文件夹 ...{src_path}") for sroot, sdirs, sfiles in os.walk(src_path): for file_name in sdirs + sfiles: