|
@ -174,6 +174,8 @@ class TcpConnection(threading.Thread, util.PrintError): |
|
|
temporary_path = cert_path + '.temp' |
|
|
temporary_path = cert_path + '.temp' |
|
|
with open(temporary_path,"w") as f: |
|
|
with open(temporary_path,"w") as f: |
|
|
f.write(cert) |
|
|
f.write(cert) |
|
|
|
|
|
f.flush() |
|
|
|
|
|
os.fsync(f.fileno()) |
|
|
else: |
|
|
else: |
|
|
is_new = False |
|
|
is_new = False |
|
|
|
|
|
|
|
|