je devienne fou
This commit is contained in:
parent
8991e4f4c8
commit
e181bd1ba4
@ -20,6 +20,7 @@ pubsub = redis_client.pubsub()
|
|||||||
pubsub.subscribe('console')
|
pubsub.subscribe('console')
|
||||||
|
|
||||||
def generate_output():
|
def generate_output():
|
||||||
|
while 1 :
|
||||||
try:
|
try:
|
||||||
for message in pubsub.listen():
|
for message in pubsub.listen():
|
||||||
if message['type'] == 'message':
|
if message['type'] == 'message':
|
||||||
|
Loading…
Reference in New Issue
Block a user