fix: Exception when consuming dict
This commit is contained in:
parent
ebe4e04861
commit
ee70a5239c
@ -117,8 +117,9 @@ class Slate():
|
||||
if k in conf:
|
||||
del conf[k]
|
||||
|
||||
while val.find('{') != -1:
|
||||
val = self.expand_vars(val, config=self._config, **kwargs)
|
||||
if type(val, str):
|
||||
while val.find('{') != -1:
|
||||
val = self.expand_vars(val, config=self._config, **kwargs)
|
||||
|
||||
return val
|
||||
child = conf.get(keys_arr[0], {})
|
||||
|
Loading…
Reference in New Issue
Block a user