pull/170/head
liuzheng712 2016-03-28 20:09:51 +08:00
parent b132a0c0b5
commit 958909551d
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class EventHandler(ProcessEvent):
self.client = client self.client = client
def process_IN_MODIFY(self, event): def process_IN_MODIFY(self, event):
self.client.write_message(f.read()) self.client.write_message(f.read().decode('utf-8', 'replace'))
def file_monitor(path='.', client=None): def file_monitor(path='.', client=None):