mirror of
https://github.com/gryf/wicd.git
synced 2025-12-28 17:32:36 +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():
|
for entry_info in encryption_info.itervalues():
|
||||||
if entry_info[0].entry.get_text() == "" and \
|
if entry_info[0].entry.get_text() == "" and \
|
||||||
entry_info[1] == 'required':
|
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())
|
entry_info[0].label.get_label())
|
||||||
)
|
)
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user