py3 compat

This commit is contained in:
Michael Davidsaver
2013-12-10 22:26:23 -05:00
parent 17436ceffb
commit 8a575f183e
4 changed files with 13 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ class INotify(_inotifyy.INotify):
def close(self):
self.__done = True
os.write(self.__wake,'*')
os.write(self.__wake,b'*')
def add(self, callback, path, mask=IN_ALL_EVENTS):
wd = super(INotify, self).add(path, mask)