summaryrefslogtreecommitdiff
path: root/yaksh/scripts/cli.py
diff options
context:
space:
mode:
authorankitjavalkar2015-10-09 11:07:38 +0530
committerankitjavalkar2015-10-09 11:07:38 +0530
commitf39f8e1b2b487426a38d2c69372a1f58dcaeee79 (patch)
tree4a1997b39f0bb5fd7bc82289ad46a5629f67f93b /yaksh/scripts/cli.py
parentd84aa639765096078763fe2caab24e4751a339aa (diff)
downloadonline_test-f39f8e1b2b487426a38d2c69372a1f58dcaeee79.tar.gz
online_test-f39f8e1b2b487426a38d2c69372a1f58dcaeee79.tar.bz2
online_test-f39f8e1b2b487426a38d2c69372a1f58dcaeee79.zip
minor changes to README post review
Diffstat (limited to 'yaksh/scripts/cli.py')
-rw-r--r--yaksh/scripts/cli.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/yaksh/scripts/cli.py b/yaksh/scripts/cli.py
index 1787fda..79523f9 100644
--- a/yaksh/scripts/cli.py
+++ b/yaksh/scripts/cli.py
@@ -116,11 +116,11 @@ def run_demo(project_name, top_dir):
subprocess.call(command, shell=True)
def run_server():
- # try:
- from yaksh import code_server
- code_server.main()
- # except Exception as e:
- print("Error: {0}\nExiting yaksh code server".format(e))
+ try:
+ from yaksh import code_server
+ code_server.main()
+ except Exception as e:
+ print("Error: {0}\nExiting yaksh code server".format(e))
def _set_project_details(project_name, top_dir):
file_path = path.join(SCRIPT_DIR, 'project_detail.py')