log the unicode instead of the localized byte string
This commit is contained in:
parent
7768d06b51
commit
1f254fbdcc
|
@ -91,7 +91,7 @@ class INotify(object):
|
||||||
self.callbacks = callbacks
|
self.callbacks = callbacks
|
||||||
|
|
||||||
def event(self, filepath, mask):
|
def event(self, filepath, mask):
|
||||||
with start_action(action_type=u"fake-inotify:event", path=filepath.path, mask=mask):
|
with start_action(action_type=u"fake-inotify:event", path=filepath.asTextMode().path, mask=mask):
|
||||||
for cb in self.callbacks:
|
for cb in self.callbacks:
|
||||||
cb(None, filepath, mask)
|
cb(None, filepath, mask)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue