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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user