1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-23 14:42:29 +01:00

Fix some issues with wired networks caused by refactoring.

Add missing return statement.
This commit is contained in:
Dan O'Reilly
2008-12-22 00:20:42 -05:00
parent 16aad93feb
commit 2c24f4b0db
3 changed files with 14 additions and 7 deletions

View File

@@ -312,7 +312,7 @@ class WicdDaemon(dbus.service.Object):
@dbus.service.method('org.wicd.daemon')
def GetAutoReconnect(self):
""" Returns the value of self.auto_reconnect. See SetAutoReconnect. """
do = bool(self.auto_reconnect)
return bool(self.auto_reconnect)
@dbus.service.method('org.wicd.daemon')
def SetAutoReconnect(self, value):