examples: fix mitogen-fuse on 2.x.

pull/308/head
David Wilson 6 years ago
parent e609d1b1fb
commit 38799e22d2

@ -125,6 +125,8 @@ class Operations(fuse.Operations): # fuse.LoggingMixIn,
self.host = host self.host = host
self.root = path self.root = path
self.ready = threading.Event() self.ready = threading.Event()
if not hasattr(self, 'encoding'):
self.encoding = 'utf-8'
def init(self, path): def init(self, path):
self.broker = mitogen.master.Broker(install_watcher=False) self.broker = mitogen.master.Broker(install_watcher=False)

Loading…
Cancel
Save