eventio.epoll: Don't convert None to float

This commit is contained in:
Ask Solem 2011-01-28 11:49:10 +01:00
parent 008624b788
commit b7b625e0d8
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class _epoll(object):
pass
def poll(self, timeout):
return self._epoll.poll(timeout / 1000.0)
return self._epoll.poll(timeout and timeout / 1000.0)
class _kqueue(object):