Skip to content

Commit

Permalink
Fix: exit on
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlaltf24 authored and n8marti committed Nov 19, 2024
1 parent e0d2776 commit 8aaf85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ou_dedetai/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def create_desktop_file(name, contents):
logging.info(f"Removing desktop launcher at {launcher_path}.")
launcher_path.unlink()
# Ensure the parent directory exists
launcher_path.parent.mkdir(parents=True)
launcher_path.parent.mkdir(parents=True, exist_ok=True)

logging.info(f"Creating desktop launcher at {launcher_path}.")
with launcher_path.open('w') as f:
Expand Down

0 comments on commit 8aaf85d

Please sign in to comment.