log the unicode instead of the localized byte string

This commit is contained in:
Jean-Paul Calderone 2019-03-20 16:17:55 -04:00
parent 7768d06b51
commit 1f254fbdcc

View File

@ -91,7 +91,7 @@ class INotify(object):
self.callbacks = callbacks
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:
cb(None, filepath, mask)