mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Readability.
This commit is contained in:
parent
d8dad26160
commit
fdc5612dce
@ -53,7 +53,7 @@ class AsyncoreRunnerDriver(drivers.IrcDriver):
|
||||
#log.debug(repr(asyncore.socket_map))
|
||||
try:
|
||||
timeout = conf.supybot.drivers.poll()
|
||||
if len(asyncore.socket_map.keys()) < 1:
|
||||
if not asyncore.socket_map:
|
||||
# FIXME: asyncore should take care of this... but it doesn't?
|
||||
time.sleep(timeout)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user