Commit d6226210 by willmcgugan@gmail.com

fix for watch

parent 24bae94e
...@@ -219,7 +219,7 @@ class SharedThreadedNotifier(threading.Thread): ...@@ -219,7 +219,7 @@ class SharedThreadedNotifier(threading.Thread):
self.watchers[fd] = watcher self.watchers[fd] = watcher
self._poller.register(fd,select.POLLIN) self._poller.register(fd,select.POLLIN)
# Bump the poll object so it recognises the new fd. # Bump the poll object so it recognises the new fd.
os.write(self._pipe_w,"H") os.write(self._pipe_w,b"H")
def del_watcher(self,watcher): def del_watcher(self,watcher):
fd = watcher._pyinotify_WatchManager.get_fd() fd = watcher._pyinotify_WatchManager.get_fd()
......
...@@ -7,7 +7,7 @@ from setuptools import setup ...@@ -7,7 +7,7 @@ from setuptools import setup
import sys import sys
PY3 = sys.version_info >= (3,) PY3 = sys.version_info >= (3,)
VERSION = "0.5.0" VERSION = "0.5.1-dev"
COMMANDS = ['fscat', COMMANDS = ['fscat',
'fscp', 'fscp',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment