Fix check for directory existing

This commit is contained in:
amcmanu3 2024-06-14 18:29:36 -04:00
parent 3c4b513a44
commit f0afcfbc23

View File

@ -1006,6 +1006,11 @@ class Helpers:
except PermissionError as e:
logger.critical(f"Check generated exception due to permssion error: {e}")
return False
except FileNotFoundError as e:
logger.critical(
f"Check generated exception due to file does not exist error: {e}"
)
return False
def create_self_signed_cert(self, cert_dir=None):
if cert_dir is None: