1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-29 20:05:45 +01:00

Revert 576: it was properly fixed in 640

This commit is contained in:
David Paleino
2011-11-14 09:29:45 +01:00
parent 5963971a1a
commit 2f651538dc
4 changed files with 10 additions and 9 deletions

View File

@@ -1179,9 +1179,8 @@ class WirelessDaemon(dbus.service.Object):
def CheckWirelessConnectingStatus(self):
""" Returns the wireless interface's status code. """
if self.wifi.connecting_thread:
essid = self.wifi.connecting_thread.network["essid"]
stat = self.wifi.connecting_thread.GetStatus()
return essid, stat
return stat
else:
return False
@@ -1189,8 +1188,8 @@ class WirelessDaemon(dbus.service.Object):
def CheckWirelessConnectingMessage(self):
""" Returns the wireless interface's status message. """
if self.wifi.connecting_thread:
essid, stat = self.CheckWirelessConnectingStatus()
return essid, _status_dict[stat]
stat = self.CheckWirelessConnectingStatus()
return _status_dict[stat]
else:
return False