mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 06:26:00 -03:30
Make pubsub.subscribe work.
This commit is contained in:
@@ -103,7 +103,7 @@ class PubSub(object):
|
||||
if message is None:
|
||||
time.sleep(max(wait, 0.001))
|
||||
else:
|
||||
yield json.loads(message)
|
||||
yield json.loads(message['data'])
|
||||
|
||||
def close(self):
|
||||
"""Close the pubsub connection."""
|
||||
|
||||
Reference in New Issue
Block a user