diff options
author | prashantsinalkar | 2019-07-04 18:03:07 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-07-04 18:03:07 +0530 |
commit | 776974c8d33e7b2489acdafa206567e6ffb8ee3f (patch) | |
tree | 65c95ce7a27926636042050ed36426339994c926 /tornado_main.py | |
parent | 2e6e7ae2c55f7136af5877a5bd81b0b6cf11927f (diff) | |
download | R_on_Cloud_Web_Interface-776974c8d33e7b2489acdafa206567e6ffb8ee3f.tar.gz R_on_Cloud_Web_Interface-776974c8d33e7b2489acdafa206567e6ffb8ee3f.tar.bz2 R_on_Cloud_Web_Interface-776974c8d33e7b2489acdafa206567e6ffb8ee3f.zip |
fixed decode issue
Diffstat (limited to 'tornado_main.py')
-rw-r--r-- | tornado_main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tornado_main.py b/tornado_main.py index 388592e..9d2b493 100644 --- a/tornado_main.py +++ b/tornado_main.py @@ -120,7 +120,7 @@ class ExecutionHandler(tornado.web.RequestHandler): def post(self): global request_count request_count += 1 - session_id = str(self.request.arguments['session_id'][0]) + 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,) |