summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-10-13 17:17:25 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-10-13 17:17:25 +0200
commit7c78c149c46cfe7ae5bead275196ba6de6ef2943 (patch)
tree4dec0bdbb1bb83688369b3f856c2a1f5726dd06e /client
parentc9ff9e8831bb3a2bb60374803089717d553533b9 (diff)
downloadjasper-client-7c78c149c46cfe7ae5bead275196ba6de6ef2943.tar.gz
jasper-client-7c78c149c46cfe7ae5bead275196ba6de6ef2943.zip
Use jasperpath in stt.py (bugfix)
Diffstat (limited to 'client')
-rw-r--r--client/stt.py2
1 files changed, 1 insertions, 1 deletions
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')