Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 14, 2024
1 parent 1b49a5f commit 5c28f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdbr/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def read_config():
config.sections()

setup_filename = "setup.cfg"
xdg_config_home = Path(os.getenv('XDG_CONFIG_HOME', Path.home() / ".config"))
xdg_config_home = Path(os.getenv("XDG_CONFIG_HOME", Path.home() / ".config"))
global_config_path = xdg_config_home / "pdbr" / setup_filename
cwd_config_path = Path.cwd() / setup_filename
config_path = cwd_config_path.exists() and cwd_config_path or global_config_path
Expand Down

0 comments on commit 5c28f80

Please sign in to comment.