From 37985034368db9d5f49a37ade2a61984ae7499d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Thu, 25 Jun 2020 14:15:38 +0200
Subject: [PATCH] 1.2.3

---
 CHANGELOG.md                  | 2 +-
 coolamqp/__init__.py          | 2 +-
 coolamqp/attaches/consumer.py | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 596eb89..3ad1890 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
 # v1.2.3
 
-* _TBA_
+* bugfix release: don't bind if queue is topic
 
 # v1.2.2
 
diff --git a/coolamqp/__init__.py b/coolamqp/__init__.py
index e25c676..5a5df3b 100644
--- a/coolamqp/__init__.py
+++ b/coolamqp/__init__.py
@@ -1 +1 @@
-__version__ = '1.2.3_a1'
+__version__ = '1.2.3'
diff --git a/coolamqp/attaches/consumer.py b/coolamqp/attaches/consumer.py
index dc48e07..8b93230 100644
--- a/coolamqp/attaches/consumer.py
+++ b/coolamqp/attaches/consumer.py
@@ -408,7 +408,7 @@ class Consumer(Channeler):
 
             # We need any form of binding.
             if self.queue.exchange is not None:
-                if self.queue.exchange.type != 'topic':
+                if self.queue.exchange.type != b'topic':
                     self.method_and_watch(
                         QueueBind(
                             self.queue.name,
-- 
GitLab