mirror of
https://github.com/gryf/wicd.git
synced 2025-12-23 14:42:29 +01:00
Removed sleep time in autoreconnect in stable (it would sometimes make it impossible to open the GUI), removed sleep time and altered autoreconnect behavior in experimental.
This commit is contained in:
4
edgy.py
4
edgy.py
@@ -138,8 +138,8 @@ def set_signal_image():
|
|||||||
print "Couldn't reconnect to last used network, scanning for an autoconnect network..."
|
print "Couldn't reconnect to last used network, scanning for an autoconnect network..."
|
||||||
print wireless.AutoConnect(True)
|
print wireless.AutoConnect(True)
|
||||||
else:
|
else:
|
||||||
print "networkID returned -1, waiting..." #This is usually only caused by hibernation
|
print "Couldn't reconnect to last used network, scanning for an autoconnect network..."
|
||||||
time.sleep(5)
|
print wireless.AutoConnect(True)
|
||||||
config.EnableLogging()
|
config.EnableLogging()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user