You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by sa...@apache.org on 2016/08/15 11:23:43 UTC

[6/9] incubator-milagro-mfa-server git commit: Return properly formatted mobileService in ServiceHandler()

Return properly formatted mobileService in ServiceHandler()


Project: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-server/commit/82237363
Tree: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-server/tree/82237363
Diff: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-server/diff/82237363

Branch: refs/heads/master
Commit: 82237363cb3238c4fac79bc68d4a2e446bf7a977
Parents: a593b91
Author: Milen Rangelov <mi...@miracl.com>
Authored: Fri Jun 10 17:01:56 2016 +0300
Committer: Milen Rangelov <mi...@miracl.com>
Committed: Fri Jun 10 17:01:56 2016 +0300

----------------------------------------------------------------------
 servers/rps/rps.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-server/blob/82237363/servers/rps/rps.py
----------------------------------------------------------------------
diff --git a/servers/rps/rps.py b/servers/rps/rps.py
index 1f8f115..7ca8e0f 100755
--- a/servers/rps/rps.py
+++ b/servers/rps/rps.py
@@ -861,7 +861,7 @@ class ServiceHandler(BaseHandler):
     @tornado.gen.engine
     def get(self):
         if options.mobileService:
-            params = str(options.mobileService)
+            params = json.dumps(options.mobileService)
             self.write(params)
         else:
             self.set_status(403)