Commit 3a8088fe by Toshio Kuratomi

_available_vars in v1 == _available_variables in v2

parent 4bbca921
...@@ -143,8 +143,8 @@ class Templar: ...@@ -143,8 +143,8 @@ class Templar:
only_one = SINGLE_VAR.match(variable) only_one = SINGLE_VAR.match(variable)
if only_one: if only_one:
var_name = only_one.group(1) var_name = only_one.group(1)
if var_name in self._available_vars: if var_name in self._available_variables:
resolved_val = self._available_vars[var_name] resolved_val = self._available_variables[var_name]
if isinstance(resolved_val, NON_TEMPLATED_TYPES): if isinstance(resolved_val, NON_TEMPLATED_TYPES):
return resolved_val return resolved_val
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment