Show More
@@ -217,7 +217,7 b' def write_history(config, message):' | |||||
217 | json_message = json.dumps(message) |
|
217 | json_message = json.dumps(message) | |
218 | with open(filepath, 'ab') as f: |
|
218 | with open(filepath, 'ab') as f: | |
219 | f.write(json_message) |
|
219 | f.write(json_message) | |
220 | f.write('\n') |
|
220 | f.write(b'\n') | |
221 | finally: |
|
221 | finally: | |
222 | LOCK.release_write_lock() |
|
222 | LOCK.release_write_lock() | |
223 |
|
223 |
General Comments 0
You need to be logged in to leave comments.
Login now