Skip to content

Commit 00a44a5

Browse files
authored
fix TypeError Exception in session.py
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
1 parent 3ecdc57 commit 00a44a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/pgadmin/utils/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def is_session_ready(self, _session):
123123
# or None if it hasn't been set yet.
124124
try:
125125
return _session['_id'] is not None
126-
except (AssertionError, RuntimeError, KeyError):
126+
except (AssertionError, RuntimeError, KeyError, TypeError):
127127
return False
128128

129129
def new_session(self):

0 commit comments

Comments
 (0)