mirror of
https://github.com/gryf/wicd.git
synced 2026-01-08 14:54:15 +01:00
Fix some suspend/resume issues
This commit is contained in:
@@ -231,7 +231,7 @@ class ConnectionStatus(object):
|
||||
|
||||
# Some checks to keep reconnect retries from going crazy.
|
||||
if self.reconnect_tries > 2 and \
|
||||
time.time() - self.last_reconnect_time < 300:
|
||||
(time.time() - self.last_reconnect_time) < 300:
|
||||
return
|
||||
|
||||
self.reconnecting = True
|
||||
|
||||
Reference in New Issue
Block a user