From d2f6135a98be3a5d53d6e5868f7ba4c39f011e61 Mon Sep 17 00:00:00 2001 From: Murtuza Zabuawala Date: Thu, 21 Jan 2016 12:24:09 +0530 Subject: [PATCH] [Python 3] Fixed the issue processing the request data (decoding issue) for UPDATE operation of the server node. --- web/pgadmin/browser/server_groups/servers/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgadmin/browser/server_groups/servers/__init__.py b/web/pgadmin/browser/server_groups/servers/__init__.py index b18dfe0e8..934963337 100644 --- a/web/pgadmin/browser/server_groups/servers/__init__.py +++ b/web/pgadmin/browser/server_groups/servers/__init__.py @@ -317,7 +317,7 @@ class ServerNode(PGChildNodeView): } idx = 0 - data = request.form if request.form else json.loads(request.data) + data = request.form if request.form else json.loads(request.data.decode()) from pgadmin.utils.driver import get_driver manager = get_driver(PG_DEFAULT_DRIVER).connection_manager(sid)