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
a4bd83705f
commit
33a05f1cf1
@ -375,7 +375,7 @@ class Quark:
|
||||
|
||||
def update_savepath_fid(self, tasklist):
|
||||
dir_paths = [
|
||||
item["savepath"]
|
||||
re.sub(r"/{2,}", "/", f"/{item['savepath']}")
|
||||
for item in tasklist
|
||||
if not item.get("enddate")
|
||||
or (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user