summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@gmail.com>2019-06-30 11:06:48 +0100
committerMichaël Ball <michael.ball@gmail.com>2019-06-30 11:06:48 +0100
commit1acbc1e85d6a0af47c236c48b8c5a1b504871d96 (patch)
tree039e163e2059eecf71097ec61892da1bba41ff23
parent3d0bf539ca2909ebf1719d3e35afc778d69358dc (diff)
Update watcher
-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.