Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thsrite committed Jul 7, 2024
1 parent 0742159 commit a6d06b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/filesoftlink/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def remote_sync_one(self, event: Event = None):
# 定向上级文件夹
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:
Expand Down

0 comments on commit a6d06b7

Please sign in to comment.