Save OpenSSL rand file in data directory to avoid error message on Windows
This commit is contained in:
parent
b814a633c6
commit
bad4d14cf6
2 changed files with 6 additions and 3 deletions
|
@ -107,7 +107,7 @@ def cleanup():
|
|||
for dir_path in [config.data_dir, config.data_dir + "-temp"]:
|
||||
for file_name in os.listdir(dir_path):
|
||||
ext = file_name.rsplit(".", 1)[-1]
|
||||
if ext not in ["csr", "pem", "srl", "db", "json"]:
|
||||
if ext not in ["csr", "pem", "srl", "db", "json", "tmp"]:
|
||||
continue
|
||||
file_path = dir_path + "/" + file_name
|
||||
if os.path.isfile(file_path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue