mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-09 23:15:58 -06:00
Fixed TypeError 'NoneType' object is not sub scriptable. Fixes #6580
This commit is contained in:
parent
69d0fbe419
commit
9e8af67202
@ -11,6 +11,7 @@ notes for it.
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
release_notes_5_6
|
||||
release_notes_5_5
|
||||
release_notes_5_4
|
||||
release_notes_5_3
|
||||
|
20
docs/en_US/release_notes_5_6.rst
Normal file
20
docs/en_US/release_notes_5_6.rst
Normal file
@ -0,0 +1,20 @@
|
||||
************
|
||||
Version 5.6
|
||||
************
|
||||
|
||||
Release date: 2021-08-12
|
||||
|
||||
This release contains a number of bug fixes and new features since the release of pgAdmin4 5.5.
|
||||
|
||||
New features
|
||||
************
|
||||
|
||||
|
||||
Housekeeping
|
||||
************
|
||||
|
||||
|
||||
Bug fixes
|
||||
*********
|
||||
|
||||
| `Issue #6580 <https://redmine.postgresql.org/issues/6580>`_ - Fixed TypeError 'NoneType' object is not sub scriptable.
|
@ -681,15 +681,15 @@ def create_app(app_name=None):
|
||||
from pgadmin.utils.driver import get_driver
|
||||
from flask import current_app
|
||||
|
||||
# remove key
|
||||
current_app.keyManager.reset()
|
||||
|
||||
for mdl in current_app.logout_hooks:
|
||||
try:
|
||||
mdl.on_logout(user)
|
||||
except Exception as e:
|
||||
current_app.logger.exception(e)
|
||||
|
||||
# remove key
|
||||
current_app.keyManager.reset()
|
||||
|
||||
_driver = get_driver(PG_DEFAULT_DRIVER)
|
||||
_driver.gc_own()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user