summaryrefslogtreecommitdiff
path: root/client/vocabcompiler.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-09-26 16:03:59 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-10-08 20:52:14 +0200
commit382c21d2ec5ca18d6932d38db8c23432aeac33dd (patch)
tree83f7c5cf63c47add3b4c6c409837170f9fbcea15 /client/vocabcompiler.py
parentd282d1f7ea17feeb19cd311037d837e8f1c2a3d5 (diff)
downloadjasper-client-382c21d2ec5ca18d6932d38db8c23432aeac33dd.tar.gz
jasper-client-382c21d2ec5ca18d6932d38db8c23432aeac33dd.zip
Use newer cmuclmtk libary version and catch ImportError
Diffstat (limited to 'client/vocabcompiler.py')
-rw-r--r--client/vocabcompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/vocabcompiler.py b/client/vocabcompiler.py
index ae5dc7d..c59bd6e 100644
--- a/client/vocabcompiler.py
+++ b/client/vocabcompiler.py
@@ -14,7 +14,7 @@ import g2p
import brain
try:
import cmuclmtk
-except:
+except ImportError:
logging.getLogger(__name__).error("Error importing CMUCLMTK module. " +
"PocketsphinxVocabulary will not work " +
"correctly.", exc_info=True)