Added line break to log
This commit is contained in:
parent
4673cd67f4
commit
29434c3338
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def change_cb(countChange: int, directionState: Dict):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(LOG_FILE_PATH, 'a') as f:
|
with open(LOG_FILE_PATH, 'a') as f:
|
||||||
f.write(json.dumps(data, default=str))
|
f.write(json.dumps(data, default=str) + "\n")
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
logging.exception(f'Unable to write log file. {ex}')
|
logging.exception(f'Unable to write log file. {ex}')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue