Skip to content

Commit

Permalink
FIXUP: platformdir*s*
Browse files Browse the repository at this point in the history
  • Loading branch information
almet committed Jan 23, 2025
1 parent 0aeb1ff commit 3618992
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dangerzone/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
import unicodedata

try:
import platformdir
import platformdirs
except ImportError:
import appdirs as platformdir
import appdirs as platformdirs


def get_config_dir() -> str:
return platformdir.user_config_dir("dangerzone")
return platformdirs.user_config_dir("dangerzone")


def get_resource_path(filename: str) -> str:
Expand Down

0 comments on commit 3618992

Please sign in to comment.