Skip to content

Commit b56c7ba

Browse files
pnhofmannpnhofmann
authored and
pnhofmann
committed
Fix python2 compatibility
1 parent f02e2e5 commit b56c7ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jarviscli/plugins/voice_control.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
try:
66
import speech_recognition as sr
77
import pyaudio
8-
except ModuleNotFoundError:
8+
except ImportError:
99
voice_control_installed = False
1010

1111
if voice_control_installed:

0 commit comments

Comments
 (0)