Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Candle - the privacy friendly smart home authored Mar 22, 2022
1 parent 89af306 commit dd0cbee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/voco_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,7 @@ def clock(self, voice_messages_queue):
self.capture_devices = self.scan_alsa('capture')

if self.DEBUG:
print("microphone_scan_result: " + str(self.capture_devices))
print("self.capture_devices: " + str(self.capture_devices))

if len(self.capture_devices) == 0:
if self.DEBUG:
Expand All @@ -2168,7 +2168,7 @@ def clock(self, voice_messages_queue):
if self.still_busy_booting == False:
self.speak("A microphone has been connected.")

elif self.microphone in microphone_scan_result: # A mic is currenty plugged in
elif self.microphone in self.capture_devices: # A mic is currenty plugged in
if self.missing_microphone:
self.missing_microphone = False
if self.mqtt_connected == True:
Expand Down

0 comments on commit dd0cbee

Please sign in to comment.