mirror of https://github.com/jumpserver/jumpserver
bug_fix
parent
b132a0c0b5
commit
958909551d
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue