1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 01:00:42 +03:00

Need to flush the journal dir lock file contents after write.

This commit is contained in:
Athanasius 2021-01-20 14:43:47 +00:00
parent 8f94a259be
commit 831367c30b

View File

@ -187,6 +187,7 @@ if __name__ == '__main__': # noqa: C901
return False
journal_dir_lockfile.write(f"Path: {journal_dir}\nPID: {os_getpid()}\n")
journal_dir_lockfile.flush()
logger.trace('Done')
return True