From 382c21d2ec5ca18d6932d38db8c23432aeac33dd Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 26 Sep 2014 16:03:59 +0200 Subject: Use newer cmuclmtk libary version and catch ImportError --- client/vocabcompiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/vocabcompiler.py') 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) -- cgit v1.3.1