mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-16 09:20:43 +08:00
Merge c20a31773e into 5809871cf1
This commit is contained in:
commit
cdf826a742
@ -164,7 +164,9 @@ class Alist_sync:
|
|||||||
|
|
||||||
# 获取网盘已有文件
|
# 获取网盘已有文件
|
||||||
source_dir_list = self.get_path_list(self.source_path)
|
source_dir_list = self.get_path_list(self.source_path)
|
||||||
|
if not source_dir_list:
|
||||||
|
print("获取夸克文件列表失败,请检查网络或手动刷新alist中的夸克目录")
|
||||||
|
return 0
|
||||||
if self.tv_mode == 0 or self.tv_mode == "":
|
if self.tv_mode == 0 or self.tv_mode == "":
|
||||||
self.tv_mode = False
|
self.tv_mode = False
|
||||||
else:
|
else:
|
||||||
@ -228,6 +230,10 @@ class Alist_sync:
|
|||||||
.lower()
|
.lower()
|
||||||
)
|
)
|
||||||
for target_list in target_dir_list:
|
for target_list in target_dir_list:
|
||||||
|
if source_list["is_dir"]:
|
||||||
|
# print(f"跳过目录同步")
|
||||||
|
skip = True
|
||||||
|
break
|
||||||
if self.tv_mode:
|
if self.tv_mode:
|
||||||
target_list_filename = (
|
target_list_filename = (
|
||||||
target_list["name"]
|
target_list["name"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user