-
-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
With opinion=True (default) and ensure_exists=True.
Minimal reproducible example:
from platformdirs import PlatformDirs
app_dirs = PlatformDirs("app", ensure_exists=True)
open(app_dirs.user_log_path / "app.log", "w")Expected: ~/.local/state/app/log/app.log is created.
Actual: only ~/.local/state/app is created, got FileNotFoundError.
No error with opinion=False, file ~/.local/state/app/app.log is created.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed