1
0
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:
imdano
2007-12-17 11:49:03 +00:00
parent 4dadeefdd6
commit bf32a16e49
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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