Skip to content

Commit 3ce2035

Browse files
authored
Fix 2 typos about XDG_DATA_DIR (#256)
1 parent 783376b commit 3ce2035

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/platformdirs/unix.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def user_data_dir(self) -> str:
4646
def site_data_dir(self) -> str:
4747
"""
4848
:return: data directories shared by users (if `multipath <platformdirs.api.PlatformDirsABC.multipath>` is
49-
enabled and ``XDG_DATA_DIR`` is set and a multi path the response is also a multi path separated by the OS
50-
path separator), e.g. ``/usr/local/share/$appname/$version`` or ``/usr/share/$appname/$version``
49+
enabled and ``XDG_DATA_DIRS`` is set and a multi path the response is also a multi path separated by the
50+
OS path separator), e.g. ``/usr/local/share/$appname/$version`` or ``/usr/share/$appname/$version``
5151
"""
5252
# XDG default for $XDG_DATA_DIRS; only first, if multipath is False
5353
path = os.environ.get("XDG_DATA_DIRS", "")
@@ -77,8 +77,8 @@ def user_config_dir(self) -> str:
7777
def site_config_dir(self) -> str:
7878
"""
7979
:return: config directories shared by users (if `multipath <platformdirs.api.PlatformDirsABC.multipath>`
80-
is enabled and ``XDG_DATA_DIR`` is set and a multi path the response is also a multi path separated by the OS
81-
path separator), e.g. ``/etc/xdg/$appname/$version``
80+
is enabled and ``XDG_CONFIG_DIRS`` is set and a multi path the response is also a multi path separated by
81+
the OS path separator), e.g. ``/etc/xdg/$appname/$version``
8282
"""
8383
# XDG default for $XDG_CONFIG_DIRS only first, if multipath is False
8484
path = os.environ.get("XDG_CONFIG_DIRS", "")

0 commit comments

Comments
 (0)