Browse Source

flush certificate file; might fix #4059

3.2.x
ThomasV 7 years ago
parent
commit
4137ae94a0
  1. 2
      lib/interface.py

2
lib/interface.py

@ -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…
Cancel
Save