Fix incorrect condition causing updates to be ignored

This commit is contained in:
Lonami Exo 2017-09-08 18:43:37 +02:00
parent 54ba0661c6
commit bce88446ef

View File

@ -51,7 +51,7 @@ class UpdateState:
"""Processes an update object. This method is normally called by
the library itself.
"""
if not self._polling or not self.handlers:
if not self._polling and not self.handlers:
return
with self._updates_lock: