diff --git a/config_models/models.py b/config_models/models.py index ef63284..70f0ac7 100644 --- a/config_models/models.py +++ b/config_models/models.py @@ -131,7 +131,7 @@ def current(cls, *args): """ cache_key = cls.cache_key_name(*args) cached_response = TieredCache.get_cached_response(cache_key) - if cached_response.is_found: + if cached_response.is_found and cached_response is not None: return cached_response.value key_dict = dict(zip(cls.KEY_FIELDS, args))