Commits

JanKanis  committed fe45dd5

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

  • Participants
  • Parent commits 435887b

Comments (0)

Files changed (1)

File 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