Skip to content

Commit

Permalink
changed variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
ZohebShaikh committed Dec 12, 2024
1 parent 4b06c4e commit 0d481b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blueapi/service/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from blueapi.config import OIDCConfig
from blueapi.service.model import Cache

BLUEAPI_CACHE_LOCATION = "~/.cache/"
DEFAULT_CAHCE_DIR = "~/.cache/"
SCOPES = "openid offline_access"


Expand Down Expand Up @@ -60,7 +60,7 @@ def _default_token_cache_path(self) -> Path:
"""
Return the default cache file path.
"""
cache_path = os.environ.get("XDG_CACHE_HOME", BLUEAPI_CACHE_LOCATION)
cache_path = os.environ.get("XDG_CACHE_HOME", DEFAULT_CAHCE_DIR)
return Path(cache_path).expanduser() / "blueapi_cache"


Expand Down

0 comments on commit 0d481b0

Please sign in to comment.