From 08e0df1abc67fd389dcadf0a2820e9ae97f6d016 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 16 Oct 2023 18:55:05 +0800 Subject: [PATCH] fix bug --- app/plugins/dirmonitor/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/plugins/dirmonitor/__init__.py b/app/plugins/dirmonitor/__init__.py index 7d037e88..4140f840 100644 --- a/app/plugins/dirmonitor/__init__.py +++ b/app/plugins/dirmonitor/__init__.py @@ -154,6 +154,8 @@ class DirMonitor(_PluginBase): mon_path = paths[0] target_path = Path(paths[1]) self._dirconf[mon_path] = target_path + else: + self._dirconf[mon_path] = None # 转移方式 self._transferconf[mon_path] = _transfer_type