mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix check for directory existing
This commit is contained in:
parent
3c4b513a44
commit
f0afcfbc23
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user