added files missed from last commit

This commit is contained in:
PatchOfScotland
2023-01-31 17:18:03 +01:00
parent 64452e3f03
commit bb7c4af1e5
2 changed files with 13 additions and 8 deletions

View File

@ -283,7 +283,6 @@ class WatchdogMonitor(BaseMonitor):
created from that pattern will be automatically updated."""
check_type(pattern, FileEventPattern)
self.remove_pattern(pattern.name)
print(f"adding pattern w/ recipe {pattern.recipe}")
self.add_pattern(pattern)
def remove_pattern(self, pattern: Union[str,FileEventPattern])->None: