diff options
author | prashantsinalkar | 2019-07-08 17:30:37 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-07-08 17:30:37 +0530 |
commit | 83b6d468ecde055954d861a9ae7067d4e9439e34 (patch) | |
tree | dcd5c68e36aa15a4611f935f0e1301abfa6a0043 /tornado_main.py | |
parent | f75d41ed4f7bfa427b9d16825fa2b40a5706728e (diff) | |
download | R_on_Cloud_Web_Interface-83b6d468ecde055954d861a9ae7067d4e9439e34.tar.gz R_on_Cloud_Web_Interface-83b6d468ecde055954d861a9ae7067d4e9439e34.tar.bz2 R_on_Cloud_Web_Interface-83b6d468ecde055954d861a9ae7067d4e9439e34.zip |
addded display plot/graph feature
Diffstat (limited to 'tornado_main.py')
-rw-r--r-- | tornado_main.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tornado_main.py b/tornado_main.py index 9d2b493..8b542a9 100644 --- a/tornado_main.py +++ b/tornado_main.py @@ -121,9 +121,9 @@ class ExecutionHandler(tornado.web.RequestHandler): global request_count request_count += 1 session_id = self.request.arguments['session_id'][0].decode('UTF-8') - code = self.request.arguments['code'][0] - code = code.decode('UTF-8') - data = yield executor.submit(execute_code, code, session_id,) + R_file_id = str(time.time()) + code = self.request.arguments['code'][0].decode('UTF-8') + data = yield executor.submit(execute_code, code, session_id, R_file_id) self.write(data) request_count -= 1 |