diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-30 18:58:24 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-30 18:58:24 +0200 |
| commit | e0515b25546b978db1b3e38ade65c98beeec3602 (patch) | |
| tree | 7405c45c980cbea4a156b907015909780cff5944 | |
| parent | 5902f695fc0d7d706867d182c7a70fa9f0beac41 (diff) | |
| download | jasper-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
| -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): |
