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