Add flush().

This commit is contained in:
Andris Raugulis
2020-05-23 01:13:21 +00:00
parent 9eea095bda
commit 69ebe59400
+1
View File
@@ -227,6 +227,7 @@ class Conf(object):
log('using temporary file {0} for storing certificates'.format(self.certs_fh.name))
self.certs = self.certs_fh.name
self.certs_fh.write(cert)
self.certs_fh.flush()
def get_cert(self, name, default_verify=True):
# type: (str, bool) -> Union[str, bool]