summaryrefslogtreecommitdiff
path: root/jasper.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-10-01 02:40:29 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-10-01 02:40:29 +0200
commita26e395eba1fe45e0c0462bc8133b5144bf95b9c (patch)
tree67953d162d603999d63f43a3637880aa238f236d /jasper.py
parent820a44443aa56c18393aaa5e9973530f9101876a (diff)
parente0515b25546b978db1b3e38ade65c98beeec3602 (diff)
downloadjasper-client-a26e395eba1fe45e0c0462bc8133b5144bf95b9c.tar.gz
jasper-client-a26e395eba1fe45e0c0462bc8133b5144bf95b9c.zip
Merge pull request #206 from Holzhaus/move-apputils-to-client-folder
Move app_utils.py
Diffstat (limited to 'jasper.py')
-rwxr-xr-xjasper.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/jasper.py b/jasper.py
index 5f08e68..7223469 100755
--- a/jasper.py
+++ b/jasper.py
@@ -10,6 +10,10 @@ import argparse
from client.diagnose import Diagnostics
from client import vocabcompiler, tts, stt, jasperpath
+
+# Add jasperpath.LIB_PATH to sys.path
+sys.path.append(jasperpath.LIB_PATH)
+
from client.conversation import Conversation
parser = argparse.ArgumentParser(description='Jasper Voice Control Center')
@@ -25,8 +29,6 @@ else:
# Change CWD to jasperpath.LIB_PATH
os.chdir(jasperpath.LIB_PATH)
-# Add jasperpath.LIB_PATH to sys.path
-sys.path.append(jasperpath.LIB_PATH)
class Jasper(object):
def __init__(self):