mirror of
https://github.com/gryf/wicd.git
synced 2025-12-29 01:42:33 +01:00
Tweak a comment
This commit is contained in:
@@ -520,7 +520,7 @@ class WicdDaemon(dbus.service.Object):
|
||||
@dbus.service.method('org.wicd.daemon')
|
||||
def SetPreferWiredNetwork(self, value):
|
||||
""" Sets the prefer_wired state. """
|
||||
self.prefer_wired = value
|
||||
self.prefer_wired = bool(value)
|
||||
|
||||
@dbus.service.method('org.wicd.daemon')
|
||||
def SetConnectionStatus(self, state, info):
|
||||
@@ -925,6 +925,9 @@ class WirelessDaemon(dbus.service.Object):
|
||||
Scans for wireless networks, optionally using a (hidden) essid
|
||||
set with SetHiddenNetworkESSID.
|
||||
|
||||
The sync keyword argument specifies whether the scan should
|
||||
be done synchronously.
|
||||
|
||||
"""
|
||||
if self.debug_mode:
|
||||
print 'scanning start'
|
||||
|
||||
Reference in New Issue
Block a user