mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-30 12:33:52 -06:00
Fix an exception that could occur when the browser pings the server following a restart. Fixes #1707
This commit is contained in:
parent
2440f89a71
commit
881d2a60a4
@ -1735,7 +1735,7 @@ class Driver(BaseDriver):
|
||||
for sess in self.managers:
|
||||
sess_mgr = self.managers[sess]
|
||||
|
||||
if sess == session['_id']:
|
||||
if sess == session.get('_id'):
|
||||
sess_mgr['pinged'] = curr_time
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user