Commit 95890955 authored by liuzheng712's avatar liuzheng712

bug_fix

parent b132a0c0
......@@ -106,7 +106,7 @@ class EventHandler(ProcessEvent):
self.client = client
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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment