fix(channelstream): fixed history writing
This commit is contained in:
parent
2033612a4e
commit
4c02bc9a0f
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ def write_history(config, message):
|
|||
json_message = json.dumps(message)
|
||||
with open(filepath, 'ab') as f:
|
||||
f.write(json_message)
|
||||
f.write('\n')
|
||||
f.write(b'\n')
|
||||
finally:
|
||||
LOCK.release_write_lock()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue