Merge pull request #1165 from MycroftAI/bugfix/listener-reload
Return if audio is None in listenerpull/1169/head
commit
af5f3a8537
|
@ -101,6 +101,9 @@ class AudioConsumer(Thread):
|
|||
except Empty:
|
||||
return
|
||||
|
||||
if audio is None:
|
||||
return
|
||||
|
||||
if self.state.sleeping:
|
||||
self.wake_up(audio)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue