1
0
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:
Dan O'Reilly
2008-12-13 01:37:57 -05:00
parent 2e21e6abb0
commit 7794e9abb9
3 changed files with 2 additions and 2 deletions

View File

@@ -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