MycroftAI / skill-personal

Mycroft AI official Personality Skill - answers basic personality questions around Mycroft
https://mycroft.ai/skills
Apache License 2.0
7 stars 31 forks source link

fix dialog { } error #4

Closed JarbasAI closed 6 years ago

JarbasAI commented 6 years ago

fix error introduced in last change i made #3

23:57:09.210 - mycroft.skills.core:wrapper:604 - ERROR - An error occurred while processing a request in PersonalSkill Traceback (most recent call last): File "/home/user/desktop/mycroft-core/mycroft/skills/core.py", line 587, in wrapper handler(message) File "/opt/mycroft/skills/skill-personal/init.py", line 69, in handle_who_are_you_intent self.speak_dialog("who.am.i", {"name": name}) File "/home/user/desktop/mycroft-core/mycroft/skills/core.py", line 857, in speak_dialog self.speak(self.dialog_renderer.render(key, data), File "/home/user/desktop/mycroft-core/mycroft/dialog/init.py", line 87, in render line = line.format(**context) KeyError: u' name '