diff --git a/mycroft/dialog/__init__.py b/mycroft/dialog/__init__.py index 2e878daee8..3a01a9fed2 100644 --- a/mycroft/dialog/__init__.py +++ b/mycroft/dialog/__init__.py @@ -76,8 +76,7 @@ class MustacheDialogRenderer(object): else: index %= len(template_functions) line = template_functions[index] - for k, v in context.items(): - line = line.replace('{{' + str(k) + '}}', str(v)) + line = line.replace('{{', '{').replace('}}', '}').format(**context) return line