fix 开启插件后再启动监控服务
This commit is contained in:
parent
0b9bb90a63
commit
286dd9570d
@ -88,6 +88,7 @@ class DirMonitor(_PluginBase):
|
||||
# 停止现有任务
|
||||
self.stop_service()
|
||||
|
||||
if self._enabled:
|
||||
# 启动任务
|
||||
monitor_dirs = self._monitor_dirs.split("\n")
|
||||
if not monitor_dirs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user