mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
flush certificate file; might fix #4059
This commit is contained in:
parent
e0122f8c63
commit
4137ae94a0
1 changed files with 2 additions and 0 deletions
|
@ -174,6 +174,8 @@ class TcpConnection(threading.Thread, util.PrintError):
|
|||
temporary_path = cert_path + '.temp'
|
||||
with open(temporary_path,"w") as f:
|
||||
f.write(cert)
|
||||
f.flush()
|
||||
os.fsync(f.fileno())
|
||||
else:
|
||||
is_new = False
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue