Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/pavilion/commands/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def create_config_dir(self, pav_cfg: config.PavConfig, path: Path,

# This should fail if it already exists.
try:
path.mkdir()
path.mkdir(parents=True, exist_ok=True)
except OSError as err:
raise ConfigCmdError("Could not create specified directory", err)

Expand Down