another bug fix

This commit is contained in:
holger krekel
2020-02-21 21:42:07 +01:00
parent e064e02794
commit 78f36aaa0d
2 changed files with 5 additions and 14 deletions

View File

@@ -29,7 +29,7 @@ class EventLogger:
def consume_events(self, check_error=True):
while not self._event_queue.empty():
self.get()
self.get(check_error=check_error)
def get(self, timeout=None, check_error=True):
timeout = timeout or self._timeout