When running pgAdmin as a WSGI application, we will not be able to find the '__main__' module under 'sys.modules'.
Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b756407c3cb3e4afd40591b65902c390eb2b723f Modified Files -------------- web/pgadmin/browser/server_groups/servers/types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers