Skip to content

Commit

Permalink
Merge pull request #29 from a-luna/patch-release/v0.2.1
Browse files Browse the repository at this point in the history
v0.2.1
  • Loading branch information
a-luna authored Apr 29, 2021
2 parents dc57568 + 72f656b commit bc90bb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fastapi_redis_cache/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _connect(host_url: str) -> Tuple[RedisStatus, redis.client.Redis]: # pragma
if redis_client.ping():
return (RedisStatus.CONNECTED, redis_client)
return (RedisStatus.CONN_ERROR, None)
except redis.RedisAuthenticationError:
except redis.AuthenticationError:
return (RedisStatus.AUTH_ERROR, None)


Expand Down
2 changes: 1 addition & 1 deletion src/fastapi_redis_cache/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# flake8: noqa
__version_info__ = ("0", "2", "0") # pragma: no cover
__version_info__ = ("0", "2", "1") # pragma: no cover
__version__ = ".".join(__version_info__) # pragma: no cover

0 comments on commit bc90bb0

Please sign in to comment.