From bef98ef4ebb5af247f349e32f55a6648bf9dbceb Mon Sep 17 00:00:00 2001 From: Benson Muite Date: Tue, 4 Mar 2025 11:17:22 +0300 Subject: Migrate from appdirs to platformdirs (#3449) (#3450) --- lib/gui/presets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/gui/presets.py') diff --git a/lib/gui/presets.py b/lib/gui/presets.py index 7fbce496..0457963e 100644 --- a/lib/gui/presets.py +++ b/lib/gui/presets.py @@ -89,8 +89,8 @@ class PresetsPanel(wx.Panel): @cache def presets_path(self): try: - import appdirs - config_path = appdirs.user_config_dir('inkstitch') + import platformdirs + config_path = platformdirs.user_config_dir('inkstitch') except ImportError: config_path = os.path.expanduser('~/.inkstitch') -- cgit v1.2.3