Commits

JanKanis committed fe45dd5

fixed bug #1: don't close on umount if there are still other files being watched

Comments (0)

Files changed (1)

inotify/watcher.py

             events.append(event)
             if evt.ignored:
                 self._remove(evt.wd)
-            elif evt.umount:
+            if not len(self._wds):
                 self.close()
         return events