[Python 3] Fixed the issue processing the request data (decoding issue)

for UPDATE operation of the server node.
This commit is contained in:
Murtuza Zabuawala 2016-01-21 12:24:09 +05:30 committed by Ashesh Vashi
parent ba4a6faaa4
commit d2f6135a98

View File

@ -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)