From 1acbc1e85d6a0af47c236c48b8c5a1b504871d96 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Sun, 30 Jun 2019 11:06:48 +0100 Subject: Update watcher --- watcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watcher.py b/watcher.py index 353636a..869a932 100644 --- a/watcher.py +++ b/watcher.py @@ -34,7 +34,7 @@ class EventHandler(pyinotify.ProcessEvent): """ self.__library = media_library - super(self.__class__, self).__init__(pevent=None, **kwargs) + super(self.__class__, self).__init__(pevent=pevent, **kwargs) def process_IN_CREATE(self, event): """Add a file to the library when it is created. -- cgit v1.2.3