diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-01 02:40:29 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-01 02:40:29 +0200 |
| commit | a26e395eba1fe45e0c0462bc8133b5144bf95b9c (patch) | |
| tree | 67953d162d603999d63f43a3637880aa238f236d | |
| parent | 820a44443aa56c18393aaa5e9973530f9101876a (diff) | |
| parent | e0515b25546b978db1b3e38ade65c98beeec3602 (diff) | |
| download | jasper-client-a26e395eba1fe45e0c0462bc8133b5144bf95b9c.tar.gz jasper-client-a26e395eba1fe45e0c0462bc8133b5144bf95b9c.zip | |
Merge pull request #206 from Holzhaus/move-apputils-to-client-folder
Move app_utils.py
| -rw-r--r-- | client/app_utils.py (renamed from client/modules/app_utils.py) | 0 | ||||
| -rwxr-xr-x | jasper.py | 6 |
2 files changed, 4 insertions, 2 deletions
diff --git a/client/modules/app_utils.py b/client/app_utils.py index cea6881..cea6881 100644 --- a/client/modules/app_utils.py +++ b/client/app_utils.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): |
