diff options
author | prathamesh | 2017-08-31 16:28:57 +0530 |
---|---|---|
committer | prathamesh | 2017-09-01 15:45:06 +0530 |
commit | 3d9bce5471d04bf50e03155d3cd67bdae44a4fcc (patch) | |
tree | 8e4eb5f574754b28bf2fcb441f085155c3eaa0af /yaksh/code_server.py | |
parent | 055d0d1c51f90b4496a096a13bab5e4978fe9b92 (diff) | |
download | online_test-3d9bce5471d04bf50e03155d3cd67bdae44a4fcc.tar.gz online_test-3d9bce5471d04bf50e03155d3cd67bdae44a4fcc.tar.bz2 online_test-3d9bce5471d04bf50e03155d3cd67bdae44a4fcc.zip |
updated travis config and added print to debug on travis
Diffstat (limited to 'yaksh/code_server.py')
-rwxr-xr-x | yaksh/code_server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/code_server.py b/yaksh/code_server.py index 75dd9b2..fc8ef4c 100755 --- a/yaksh/code_server.py +++ b/yaksh/code_server.py @@ -203,6 +203,7 @@ def submit(url, uid, json_data, user_dir): user_dir : str User directory. ''' + print("submitted") requests.post( url, data=dict(uid=uid, json_data=json_data, user_dir=user_dir) ) @@ -229,6 +230,7 @@ def get_result(url, uid, block=False): Set to True if you wish to block till result is done. ''' + print("get triggered") def _get_data(): r = requests.get(urllib.parse.urljoin(url, str(uid))) return json.loads(r.content.decode('utf-8')) |