From a1daf884e68dc0b017ea07d67f895a4a27667933 Mon Sep 17 00:00:00 2001 From: Attente <19653207+wikrin@users.noreply.github.com> Date: Tue, 29 Oct 2024 06:06:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=B9=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=BA=86`=E5=AA=92=E4=BD=93=E5=BA=93=E7=9B=AE=E5=BD=95`?= =?UTF-8?q?=E4=BD=86=E6=B2=A1=E6=9C=89=E8=AE=BE=E7=BD=AE`=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=95=B4=E7=90=86`=E7=9A=84=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helper/directory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helper/directory.py b/app/helper/directory.py index 91c9e5d0..38801606 100644 --- a/app/helper/directory.py +++ b/app/helper/directory.py @@ -72,8 +72,8 @@ class DirectoryHelper: # 下载目录不匹配, 不符合条件, 通常处理`下载`匹配 if src_path and download_path != src_path: continue - # 媒体库目录不匹配, 不符合条件, 通常处理`整理`匹配 - if dest_path and library_path != dest_path: + # 媒体库目录不匹配, 或监控方式为None(即不自动整理), 不符合条件, 通常处理`整理`匹配 + if dest_path and library_path != dest_path or not d.monitor_type: continue # 本地目录 if local and d.storage != "local":