Skip to content

Commit

Permalink
Use better variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
bpepple committed Jul 28, 2024
1 parent e38528b commit d63e0bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esak/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def _create_cached_params(params: dict[str, Any]) -> str:
# Generate part of cache key before hash, apikey and timestamp added
cache_params = ""
if params:
orderedParams = OrderedDict(sorted(params.items(), key=lambda t: t[0]))
cache_params = f"?{urllib.parse.urlencode(orderedParams)}"
ordered_params = OrderedDict(sorted(params.items(), key=lambda t: t[0]))
cache_params = f"?{urllib.parse.urlencode(ordered_params)}"
return cache_params

def _create_auth_hash(self, now_string: str) -> str:
Expand Down

0 comments on commit d63e0bf

Please sign in to comment.