1
0
mirror of https://github.com/gryf/wicd.git synced 2026-02-13 12:25:56 +01:00

Initial work on automatic switchover to wired networks (no UI work yet)

actually use "write=True" instead of just "True" everywhere we do config writes explicitly.
Fix the scripts dialog not working for wired connections.
Force the monitor to update state after triggering a disconnect or connect.
Remove an unneeded Scan call from autoconnect.py
This commit is contained in:
Dan O'Reilly
2009-01-24 23:31:24 -05:00
parent 290006629b
commit ec37206905
8 changed files with 70 additions and 41 deletions

View File

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