mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-16 01:10:44 +08:00
♻️ 修改为不同步子目录
先暂时修改为不同步子目录,原因是目前不清楚通过调用API创建任务时,是否会将原有的文件进行覆盖,后续测试修改完毕后再将此项迁移至TV模式下启用
This commit is contained in:
parent
f6b7ecdc83
commit
07df5b6f3d
@ -229,6 +229,10 @@ class Alist_sync:
|
||||
)
|
||||
for target_list in target_dir_list:
|
||||
if self.tv_mode:
|
||||
if source_list["is_dir"]:
|
||||
# print(f"跳过目录同步")
|
||||
skip = True
|
||||
break
|
||||
target_list_filename = (
|
||||
target_list["name"]
|
||||
.replace(".mp4", "")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user