mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 20:38:00 +01:00
fixed a couple of bugs:
wnettools.py: DetectWirelessInterfaces() didn't return the wireless interface daemon.py: GetGlobalDNSAddresses() now returns a blank string instead of None for blank addresses; None could not be sent over dbus
This commit is contained in:
@@ -358,7 +358,7 @@ class ConnectionWizard(dbus.service.Object):
|
||||
def GetGlobalDNSAddresses(self):
|
||||
'''returns the global dns addresses'''
|
||||
print 'returning global dns addresses to client'
|
||||
return (self.dns1,self.dns2,self.dns3)
|
||||
return (misc.noneToString(self.dns1),misc.noneToString(self.dns2),misc.noneToString(self.dns3))
|
||||
#end function GetWirelessInterface
|
||||
|
||||
@dbus.service.method('org.wicd.daemon')
|
||||
|
||||
Reference in New Issue
Block a user