1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-24 15:12:31 +01:00

Fix broken Scan() call in autoconnect.py

This commit is contained in:
Dan O'Reilly
2009-01-23 08:35:28 -05:00
parent 540b8b8a3e
commit 290006629b

View File

@@ -49,7 +49,7 @@ def error_handler(*args):
if __name__ == '__main__':
try:
time.sleep(2)
wireless.Scan()
wireless.Scan(True)
daemon.SetSuspend(False)
if not daemon.CheckIfConnecting():
daemon.AutoConnect(True, reply_handler=handler, error_handler=handler)