mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 04:48:00 +01:00
Fixed a bug (typo?) in daemon.py that would keep it from working correctly.
This commit is contained in:
@@ -333,7 +333,7 @@ class ConnectionWizard(dbus.service.Object):
|
|||||||
if fresh:
|
if fresh:
|
||||||
self.Scan()
|
self.Scan()
|
||||||
#self.AutoConnectScan() # Also scans for hidden networks
|
#self.AutoConnectScan() # Also scans for hidden networks
|
||||||
if self.CheckPluggedIn() == True and self.:
|
if self.CheckPluggedIn() == True:
|
||||||
if self.GetWiredAutoConnectMethod() == 2:
|
if self.GetWiredAutoConnectMethod() == 2:
|
||||||
self.LaunchChooser()
|
self.LaunchChooser()
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -639,5 +639,5 @@ class WirelessInterface(Interface):
|
|||||||
output = misc.Run(cmd)
|
output = misc.Run(cmd)
|
||||||
network = misc.RunRegex(re.compile('.*ESSID:"(.*?)"',re.DOTALL | re.I | re.M | re.S), output)
|
network = misc.RunRegex(re.compile('.*ESSID:"(.*?)"',re.DOTALL | re.I | re.M | re.S), output)
|
||||||
if network is not None:
|
if network is not None:
|
||||||
network = network.encode('utf-8')
|
network = misc.to_unicode(network)
|
||||||
return network
|
return network
|
||||||
|
|||||||
Reference in New Issue
Block a user