Skip to content

Commit

Permalink
Merge pull request #315 from Ryuno-Ki/fix-ensure-konsole-dir-exists
Browse files Browse the repository at this point in the history
fix: ensure konsole dir exists
  • Loading branch information
l0drex authored Nov 30, 2024
2 parents 019adb8 + ad877e8 commit 51d40b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yin_yang/plugins/konsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ def available(self) -> bool:
@property
def default_profile(self):
value = None
# Ensure directory exists
Path(self.user_path).mkdir(parents=True, exist_ok=True)

# cant use config parser because of weird file structure
with self.config_path.open('r') as file:
for line in file:
Expand Down

0 comments on commit 51d40b1

Please sign in to comment.