feat: continue after sleep

This commit is contained in:
2020-08-28 13:35:26 +02:00
parent 114afb09ff
commit 955ceb9977

View File

@@ -25,6 +25,7 @@ class EventListener(Thread):
item = self.pubsub.get_message()
if not item:
time.sleep(0.01)
continue
channel = item['channel'].decode()
data = item['data']
if not isinstance(data, bytes):