1
0
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:
Dan O'Reilly
2009-01-22 21:51:03 -05:00
parent c494387a80
commit 540b8b8a3e

View File

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