From 5a25e9715c6e6b9b9f25fb22a39c7af136ff4fc3 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 10 Feb 2024 20:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=5F=5Finit=5F=5F.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/linkmonitor/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/linkmonitor/__init__.py b/plugins/linkmonitor/__init__.py index 2e48c98..1548fa5 100644 --- a/plugins/linkmonitor/__init__.py +++ b/plugins/linkmonitor/__init__.py @@ -241,7 +241,7 @@ class LinkMonitor(_PluginBase): # 遍历所有监控目录 for mon_path in self._dirconf.keys(): # 遍历目录下所有文件 - for file_path in SystemUtils.list_files(Path(mon_path), settings.RMT_MEDIAEXT): + for file_path in SystemUtils.list_files(Path(mon_path), ['*']): self.__handle_file(event_path=str(file_path), mon_path=mon_path) logger.info("全量实时硬链接完成!")