1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-23 22:52:33 +01:00

Fix a small unicode problem in wicd-curses that caused a crash in Debian Lenny.

This commit is contained in:
Andrew Psaltis
2009-06-30 21:51:33 -04:00
parent 5f14b7a7fa
commit 289f32d387

View File

@@ -145,7 +145,7 @@ def check_for_wireless(iwconfig, wireless_ip, set_status):
if not network: if not network:
return False return False
network = str(network) network = unicode(network)
if daemon.GetSignalDisplayType() == 0: if daemon.GetSignalDisplayType() == 0:
strength = wireless.GetCurrentSignalStrength(iwconfig) strength = wireless.GetCurrentSignalStrength(iwconfig)
else: else: