Skip to content

Commit

Permalink
Ensure that configuration directory exists
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed May 20, 2024
1 parent 0417195 commit c1f31f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dead_hosts/launcher/info_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ def __init__(self) -> None:
tempfile.gettempdir(), "pyfunceble", "config"
)

os.makedirs(self.pyfunceble_config_dir, exist_ok=True)

def __getattr__(self, index: str) -> Any:
if index in self.content:
return self.content[index]
Expand Down

0 comments on commit c1f31f2

Please sign in to comment.