mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 12:58:07 +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:
|
||||
self.Scan()
|
||||
#self.AutoConnectScan() # Also scans for hidden networks
|
||||
if self.CheckPluggedIn() == True and self.:
|
||||
if self.CheckPluggedIn() == True:
|
||||
if self.GetWiredAutoConnectMethod() == 2:
|
||||
self.LaunchChooser()
|
||||
else:
|
||||
|
||||
@@ -639,5 +639,5 @@ class WirelessInterface(Interface):
|
||||
output = misc.Run(cmd)
|
||||
network = misc.RunRegex(re.compile('.*ESSID:"(.*?)"',re.DOTALL | re.I | re.M | re.S), output)
|
||||
if network is not None:
|
||||
network = network.encode('utf-8')
|
||||
network = misc.to_unicode(network)
|
||||
return network
|
||||
|
||||
Reference in New Issue
Block a user