under certain circumstances attribute Config.db_selected could end up being undefined.
this could cause later code relying on it failing in strange ways.
This commit is contained in:
parent
0225987826
commit
62ee67c071
|
@ -371,6 +371,7 @@ class Config:
|
|||
self.aux_windows = {}
|
||||
self.hhcs = {}
|
||||
self.popup_windows = {}
|
||||
self.db_selected = None # database the user would like to use
|
||||
|
||||
# s_sites = doc.getElementsByTagName("supported_sites")
|
||||
for site_node in doc.getElementsByTagName("site"):
|
||||
|
|
Loading…
Reference in New Issue
Block a user