Skip to content

Commit

Permalink
Fixes #343 bug (#344)
Browse files Browse the repository at this point in the history
* Fixes #343 bug

* Update CHANGES.rst

Co-authored-by: Alexey Sadovoy <lexisstv@gmail.com>
  • Loading branch information
lexisstv and Alexey Sadovoy authored May 25, 2022
1 parent 6f2f164 commit 663a595
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Unreleased
- Cachelib is now used as backend. PR `#308 <https://github.com/pallets-eco/flask-caching/pull/308>`_.
- Drop support for python 3.6. PR `#332 <https://github.com/pallets-eco/flask-caching/pull/332>`_.
- Add support for dynamic cache timeouts `#296 <https://github.com/pallets-eco/flask-caching/pull/296>`_.

- Fix bug `#343 <https://github.com/pallets-eco/flask-caching/issues/343>`_ in CACHE_OPTIONS reading for radis in RedisSentinelCache

Version 1.10.1
--------------
Expand Down
2 changes: 1 addition & 1 deletion src/flask_caching/backends/rediscache.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def __init__(
if key.startswith("sentinel_")
}
kwargs = {
key[9:]: value
key: value
for key, value in kwargs.items()
if not key.startswith("sentinel_")
}
Expand Down

0 comments on commit 663a595

Please sign in to comment.