diff options
| author | Benson Muite <bkmgit@users.noreply.github.com> | 2025-03-04 11:17:22 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-04 09:17:22 +0100 |
| commit | bef98ef4ebb5af247f349e32f55a6648bf9dbceb (patch) | |
| tree | f6c38a1ab23e4100d89c9cb447ddc8ae69400c7d /lib/utils/paths.py | |
| parent | 097451eb8b5808d31898d1f855cdea656469d1d0 (diff) | |
Migrate from appdirs to platformdirs (#3449) (#3450)
Diffstat (limited to 'lib/utils/paths.py')
| -rwxr-xr-x | lib/utils/paths.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/paths.py b/lib/utils/paths.py index c9d7b046..6eafbd77 100755 --- a/lib/utils/paths.py +++ b/lib/utils/paths.py @@ -8,7 +8,7 @@ import sys from os.path import dirname, realpath from pathlib import Path -import appdirs +import platformdirs if sys.version_info >= (3, 11): import tomllib # built-in in Python 3.11+ @@ -42,7 +42,7 @@ def get_resource_dir(name): def get_user_dir(name=None): - path = appdirs.user_config_dir("inkstitch") + path = platformdirs.user_config_dir("inkstitch") if name is not None: path = os.path.join(path, name) |
