From 89a2c00e642af0906197e0eb41c27fa5c2449428 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 16 Oct 2023 07:16:02 +0800 Subject: [PATCH] fix #867 --- app/plugins/dirmonitor/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/plugins/dirmonitor/__init__.py b/app/plugins/dirmonitor/__init__.py index bcd02223..45f82f82 100644 --- a/app/plugins/dirmonitor/__init__.py +++ b/app/plugins/dirmonitor/__init__.py @@ -263,6 +263,7 @@ class DirMonitor(_PluginBase): if re.search(r"BDMV[/\\]STREAM", event_path, re.IGNORECASE): # 截取BDMV前面的路径 event_path = event_path[:event_path.find("BDMV")] + file_path = Path(event_path) # 查询转移目的目录 target: Path = self._dirconf.get(mon_path)