fix(channelstream): fixed history writing

This commit is contained in:
RhodeCode Admin 2023-11-24 14:11:35 +01:00
parent 2033612a4e
commit 4c02bc9a0f

View file

@ -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()