mirror of
https://github.com/gryf/wicd.git
synced 2025-12-24 15:12:31 +01:00
fix crash resulting from encryption info missing when connecting
This commit is contained in:
@@ -642,7 +642,7 @@ class appGui(object):
|
||||
for entry_info in encryption_info.itervalues():
|
||||
if entry_info[0].entry.get_text() == "" and \
|
||||
entry_info[1] == 'required':
|
||||
error(self, "%s (%s)" % (language['encrypt_info_missing'],
|
||||
error(self.window, "%s (%s)" % (language['encrypt_info_missing'],
|
||||
entry_info[0].label.get_label())
|
||||
)
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user