Skip to content

Commit 51d40b1

Browse files
authored
Merge pull request #315 from Ryuno-Ki/fix-ensure-konsole-dir-exists
fix: ensure konsole dir exists
2 parents 019adb8 + ad877e8 commit 51d40b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

yin_yang/plugins/konsole.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ def available(self) -> bool:
122122
@property
123123
def default_profile(self):
124124
value = None
125+
# Ensure directory exists
126+
Path(self.user_path).mkdir(parents=True, exist_ok=True)
127+
125128
# cant use config parser because of weird file structure
126129
with self.config_path.open('r') as file:
127130
for line in file:

0 commit comments

Comments
 (0)