From b74ec6505c3c6e62bc7a7645517b72a47ff75485 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 28 Sep 2022 17:12:13 -0700 Subject: [PATCH] notifs / staging: and the moksha fix Signed-off-by: Kevin Fenzi --- roles/notifs/backend/files/consumer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/notifs/backend/files/consumer.py b/roles/notifs/backend/files/consumer.py index e35211417b..072a2bb584 100644 --- a/roles/notifs/backend/files/consumer.py +++ b/roles/notifs/backend/files/consumer.py @@ -69,7 +69,7 @@ class Consumer(object): for topic in iterate(self.topic): log.debug('Subscribing to consumer topic %s' % topic) - self.hub.subscribe(topic, callback) + self.hub.subscribe(topic.decode("utf-8"), callback) # If the consumer specifies an 'app', then setup `self.engine` to # be a SQLAlchemy engine, along with a configured DBSession