* Add protection for naive skill authors It is fairly common for new skill authors to attempt actions in the __init__() method which are not legal yet, as the Skill has not been fully connected to the Mycroft system. This adds an @property protection layer for the two most common issues: * Accessing MycroftSkill.bus * Accessing MycroftSkill.enclosure Now those are properties instead of variables and provide appropriate warnings when used before they exist. Also enhancing the handling of error logs in the CLI to highlight problems such as this: * Color "- ERROR -" log messages in red * Retaining leading characters from log messages, improving readability in formatted messages |
||
---|---|---|
.. | ||
enclosure | ||
speech | ||
text | ||
__init__.py |