1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-24 07:02:29 +01:00

Fixed bug with wicd-curses and UTF-8 encryption types

This commit is contained in:
David Paleino
2012-02-17 13:41:02 +01:00
parent b161427e4d
commit f1769e0b86

View File

@@ -350,7 +350,7 @@ class NetLabel(urwid.WidgetWrap):
if wireless.GetWirelessProperty(id, 'encryption'):
self.encrypt = wireless.GetWirelessProperty(id,'encryption_method')
else:
self.encrypt = _('Unsecured')
self.encrypt = _('Unsecured').decode('utf-8')
self.mode = wireless.GetWirelessProperty(id, 'mode') # Master, Ad-Hoc
self.channel = wireless.GetWirelessProperty(id, 'channel')