mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix some code inspection complaints
This commit is contained in:
@@ -59,9 +59,7 @@ blueprint = AboutModule(MODULE_NAME, __name__,
|
||||
@login_required
|
||||
def index():
|
||||
"""Render the about box."""
|
||||
info = {}
|
||||
info['python_version'] = sys.version
|
||||
info['flask_version'] = __version__
|
||||
info = {'python_version': sys.version, 'flask_version': __version__}
|
||||
if config.SERVER_MODE is True:
|
||||
info['app_mode'] = gettext('Server')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user