Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of "emitter" #42

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

forslund
Copy link
Collaborator

@forslund forslund commented Mar 8, 2021

Description

self.emitter was still used to try to call pairing, this seems to have been missed when switching from using self.emitter to
self.bus.

The code is rarely used but should trigger pairing if wolfram alpha is called when unpaired and wolfram response can't be fetched through Mycroft Home. Possibly the functionality should be removed?

This also fixes an incorrect return value after that showed up when the main issue was resolved.

Type of PR

  • [ x ] Bugfix
  • Feature implementation
  • Refactor of code (without functional changes)
  • Documentation improvements
  • Test improvements

Testing

Run the skill in an unpaired state and enter a question on the CLI, an error message should not be seen in the log.

This seems to have been missed when switching from using self.emitter to
self.bus.
@krisgesling
Copy link
Contributor

Nice one, thanks :)

Have added a separate ticket to come back to the 401 pairing thing.

@krisgesling krisgesling merged commit 3a51c2b into MycroftAI:20.08 Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants