Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
reset response
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Aug 22, 2017
1 parent 4576aad commit e964df9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mycroft/messagebus/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def _wait_response(self, timeout):
self.waiting = False

def send(self, response_type=None, timeout=10):
self.response = Message(None, None, None)
if response_type is None:
response_type = self.query_type + ".reply"
self.emitter.on(response_type, self._end_wait)
Expand Down

0 comments on commit e964df9

Please sign in to comment.