Skip to content

Commit

Permalink
Update recipe_search.py
Browse files Browse the repository at this point in the history
  • Loading branch information
smilerz committed Jan 17, 2022
1 parent e0b8d6f commit 85ecac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/helper/recipe_search.py
Expand Up @@ -490,7 +490,7 @@ def __init__(self, request, queryset=None, hash_key=None, cache_timeout=3600):
'space': self._request.space,
}
elif self.hash_key is not None:
self._recipe_list = self._cache.get('recipe_list', None)
self._recipe_list = self._cache.get('recipe_list', [])
self._search_params = {
'keyword_list': self._cache.get('keyword_list', None),
'food_list': self._cache.get('food_list', None),
Expand Down

0 comments on commit 85ecac3

Please sign in to comment.