From 5aecad7f0370e3a0d936a10ec9e5e6240879dd6f Mon Sep 17 00:00:00 2001 From: jenfonro <799170122@qq.com> Date: Thu, 26 Jun 2025 19:36:22 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=89=80=E6=9C=89=E5=AD=90=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/alist_sync.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/alist_sync.py b/plugins/alist_sync.py index 115986b..832594a 100644 --- a/plugins/alist_sync.py +++ b/plugins/alist_sync.py @@ -228,11 +228,11 @@ class Alist_sync: .lower() ) for target_list in target_dir_list: + if source_list["is_dir"]: + # print(f"跳过目录同步") + skip = True + break if self.tv_mode: - if source_list["is_dir"]: - # print(f"跳过目录同步") - skip = True - break target_list_filename = ( target_list["name"] .replace(".mp4", "")