mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-12 15:20:44 +08:00
🐛 修复对文件夹忽略后缀 #22
This commit is contained in:
parent
cb4f59b5ef
commit
c8f0428a73
@ -522,7 +522,7 @@ class Quark:
|
||||
else share_file["file_name"]
|
||||
)
|
||||
# 忽略后缀
|
||||
if task.get("ignore_extension"):
|
||||
if task.get("ignore_extension") and not share_file["dir"]:
|
||||
compare_func = lambda a, b1, b2: (
|
||||
os.path.splitext(a)[0] == os.path.splitext(b1)[0]
|
||||
or os.path.splitext(a)[0] == os.path.splitext(b2)[0]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user