summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--watcher.py2
1 files changed, 1 insertions, 1 deletions
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.