mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-29 15:50:05 -05:00
fix TypeError Exception in session.py
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
1 parent
3ecdc57a59
commit
00a44a5d76
1 file changed
+1
-1
@@ -123,7 +123,7 @@ class CachingSessionManager(SessionManager):
|
||||
# or None if it hasn't been set yet.
|
||||
try:
|
||||
return _session['_id'] is not None
|
||||
except (AssertionError, RuntimeError, KeyError):
|
||||
except (AssertionError, RuntimeError, KeyError, TypeError):
|
||||
return False
|
||||
|
||||
def new_session(self):
|
||||
|
||||
Reference in new issue
Block a user