Skip to content

Commit 87e2cc8

Browse files
Petr Matousekpematous
authored andcommitted
FIX: remote_offered_capabilities is now converted into a SymbolList
1 parent 32326cc commit 87e2cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli_proton_python/receiver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def on_connection_opened(self, event):
216216
:type event: proton.Event
217217
"""
218218
if self.opts.process_reply_to and event.connection.remote_offered_capabilities and \
219-
'ANONYMOUS-RELAY' in event.connection.remote_offered_capabilities.elements:
219+
'ANONYMOUS-RELAY' in event.connection.remote_offered_capabilities:
220220
self.relay = event.reactor.create_sender(event.connection, None)
221221

222222
def on_link_opened(self, event):

0 commit comments

Comments
 (0)