summaryrefslogtreecommitdiff
path: root/client
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
parentd282d1f7ea17feeb19cd311037d837e8f1c2a3d5 (diff)
downloadjasper-client-382c21d2ec5ca18d6932d38db8c23432aeac33dd.tar.gz
jasper-client-382c21d2ec5ca18d6932d38db8c23432aeac33dd.zip
Use newer cmuclmtk libary version and catch ImportError
Diffstat (limited to 'client')
-rw-r--r--client/requirements.txt2
-rw-r--r--client/vocabcompiler.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/requirements.txt b/client/requirements.txt
index 57b6bc6..f3508fe 100644
--- a/client/requirements.txt
+++ b/client/requirements.txt
@@ -10,4 +10,4 @@ python-mpd==0.3.0
pytz==2013b
semantic==1.0.3
requests==2.1.0
-cmuclmtk==0.1.2
+cmuclmtk==0.1.5
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)