summaryrefslogtreecommitdiff
path: root/yaksh/code_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/code_server.py')
-rwxr-xr-xyaksh/code_server.py2
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'))