summaryrefslogtreecommitdiff
path: root/client/vocabcompiler.py
diff options
context:
space:
mode:
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)