mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-12 07:10:44 +08:00
🔨 修改子目录匹配逻辑
This commit is contained in:
parent
38d4503c68
commit
726f8356e0
@ -504,8 +504,8 @@ class Quark:
|
||||
need_save_list = []
|
||||
# 添加符合的
|
||||
for share_file in share_file_list:
|
||||
if share_file["dir"]:
|
||||
pattern, replace = task.get("update_subdir", ""), ""
|
||||
if share_file["dir"] and task.get("update_subdir", False):
|
||||
pattern, replace = task["update_subdir"], ""
|
||||
else:
|
||||
pattern, replace = magic_regex_func(task["pattern"], task["replace"])
|
||||
# 正则文件名匹配
|
||||
|
||||
Loading…
Reference in New Issue
Block a user