mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
python 3 updates
- Fix super() calls for python 3 - No need to inherit objects. - No need for u at the start of strings - Tidied up some brackets and f-strings too
This commit is contained in:
@@ -47,7 +47,7 @@ from pgadmin.model import SCHEMA_VERSION
|
||||
##########################################################################
|
||||
# Support reverse proxying
|
||||
##########################################################################
|
||||
class ReverseProxied(object):
|
||||
class ReverseProxied():
|
||||
def __init__(self, app):
|
||||
self.app = app
|
||||
# https://werkzeug.palletsprojects.com/en/0.15.x/middleware/proxy_fix
|
||||
|
||||
Reference in New Issue
Block a user