diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-26 16:03:59 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-08 20:52:14 +0200 |
| commit | 382c21d2ec5ca18d6932d38db8c23432aeac33dd (patch) | |
| tree | 83f7c5cf63c47add3b4c6c409837170f9fbcea15 /client | |
| parent | d282d1f7ea17feeb19cd311037d837e8f1c2a3d5 (diff) | |
| download | jasper-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.txt | 2 | ||||
| -rw-r--r-- | client/vocabcompiler.py | 2 |
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) |
