summaryrefslogtreecommitdiff
path: root/jasper.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-09-30 18:58:24 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-09-30 18:58:24 +0200
commite0515b25546b978db1b3e38ade65c98beeec3602 (patch)
tree7405c45c980cbea4a156b907015909780cff5944 /jasper.py
parent5902f695fc0d7d706867d182c7a70fa9f0beac41 (diff)
downloadjasper-client-e0515b25546b978db1b3e38ade65c98beeec3602.tar.gz
jasper-client-e0515b25546b978db1b3e38ade65c98beeec3602.zip
Move app_utils.py from client/modules to client/
app_utils.py does not have a WORDS constant and thus does not belong into that folder
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):