Bugfix for templated locally-scoped variables and dishcache

This commit is contained in:
Olivier 'reivilibre' 2021-01-02 19:38:19 +00:00
parent 846695cfa6
commit c1620eef33

View File

@ -244,7 +244,7 @@ class Kitchen:
return prev_book, False
# compute and compare the var hash...
sous_vars = self.head.variables[recipe.recipe_context.sous]
sous_vars = recipe.recipe_context.variables
vars_to_hash = {}
for var in prev_book.var_list:
vars_to_hash[var] = sous_vars.get_dotted(var)