From 7c78c149c46cfe7ae5bead275196ba6de6ef2943 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 13 Oct 2014 17:17:25 +0200 Subject: Use jasperpath in stt.py (bugfix) --- client/stt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/stt.py b/client/stt.py index 9ac1a18..e441066 100644 --- a/client/stt.py +++ b/client/stt.py @@ -105,7 +105,7 @@ class PocketSphinxSTT(AbstractSTTEngine): config = {} # HMM dir # Try to get hmm_dir from config - profile_path = os.path.join(os.path.dirname(__file__), 'profile.yml') + profile_path = jasperpath.config('profile.yml') name_default = 'default' path_default = jasperpath.config('vocabularies') -- cgit v1.3.1