summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-10-13 17:19:07 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-10-13 17:19:07 +0200
commita564cb3858c412570634b0a45ea975ece1f7446d (patch)
tree0f44ad5f909db0258232586da7c5548a6fe09aa4 /client
parent7c78c149c46cfe7ae5bead275196ba6de6ef2943 (diff)
downloadjasper-client-a564cb3858c412570634b0a45ea975ece1f7446d.tar.gz
jasper-client-a564cb3858c412570634b0a45ea975ece1f7446d.zip
Use jasperpath in stt.py (bugfix no. 2)
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 e441066..f5254ca 100644
--- a/client/stt.py
+++ b/client/stt.py
@@ -240,7 +240,7 @@ class GoogleSTT(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')
if os.path.exists(profile_path):
with open(profile_path, 'r') as f:
profile = yaml.safe_load(f)