prevent a TB
This commit is contained in:
parent
5ba4093701
commit
73204c2d2c
|
@ -655,7 +655,8 @@ class Interface:
|
||||||
return True # renew timeout (loop for ever)
|
return True # renew timeout (loop for ever)
|
||||||
state = self.sleeper.getState()
|
state = self.sleeper.getState()
|
||||||
for account in gajim.connections:
|
for account in gajim.connections:
|
||||||
if not gajim.sleeper_state[account]:
|
if not gajim.sleeper_state.has_key(account) or \
|
||||||
|
not gajim.sleeper_state[account]:
|
||||||
continue
|
continue
|
||||||
if state == common.sleepy.STATE_AWAKE and \
|
if state == common.sleepy.STATE_AWAKE and \
|
||||||
gajim.sleeper_state[account] > 1:
|
gajim.sleeper_state[account] > 1:
|
||||||
|
|
Loading…
Reference in New Issue