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:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user