Skip to content

Commit

Permalink
unix: Optionally create the opinionated log/ in user_log_dir() (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
kemzeb committed Jul 15, 2023
1 parent def4431 commit aadc9d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platformdirs/unix.py
Expand Up @@ -119,6 +119,7 @@ def user_log_dir(self) -> str:
path = self.user_state_dir
if self.opinion:
path = os.path.join(path, "log") # noqa: PTH118
self._optionally_create_directory(path)
return path

@property
Expand Down

0 comments on commit aadc9d0

Please sign in to comment.