Skip to content

Commit

Permalink
Do not use the wrong XDG_CONFIG_DIRS env variable
Browse files Browse the repository at this point in the history
Signed-off-by: Cédric Foellmi <cedric@onekiloparsec.dev>
  • Loading branch information
onekiloparsec committed Mar 20, 2024
1 parent ec7f1ef commit 6373b56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arcsecond/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def old_config_file_path() -> Path:

def config_dir_path() -> Path:
_config_root_path = Path.home() / '.config'
if 'XDG_CONFIG_DIRS' in os.environ.keys():
_config_root_path = Path(os.environ['XDG_CONFIG_DIRS'])
# if 'XDG_CONFIG_HOME' in os.environ.keys():
# _config_root_path = Path(os.environ['XDG_CONFIG_HOME'])
return _config_root_path / 'arcsecond'


Expand Down

0 comments on commit 6373b56

Please sign in to comment.