From 14839bf5dedfc5f433b5e82209acc5f18f0a2287 Mon Sep 17 00:00:00 2001 From: Harshal Dhumal Date: Sat, 14 May 2016 01:14:02 +0530 Subject: [PATCH] Always make sure - we convert the psasword to string in the as_dict function. --- web/pgadmin/utils/driver/psycopg2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgadmin/utils/driver/psycopg2/__init__.py b/web/pgadmin/utils/driver/psycopg2/__init__.py index 9dcf96b93..c8665cc66 100644 --- a/web/pgadmin/utils/driver/psycopg2/__init__.py +++ b/web/pgadmin/utils/driver/psycopg2/__init__.py @@ -1049,7 +1049,7 @@ class ServerManager(object): res = dict() res['sid'] = self.sid - res['password'] = self.password + res['password'] = str(self.password) connections = res['connections'] = dict()