Merge pull request #76 from mogenson/connection-error-params

Swap arguments to ConnectionError in RFCOMM Multiplexer
This commit is contained in:
Michael Mogenson
2022-11-18 10:48:02 -05:00
committed by GitHub
+1 -1
View File
@@ -636,8 +636,8 @@ class Multiplexer(EventEmitter):
if self.open_result:
self.open_result.set_exception(ConnectionError(
ConnectionError.CONNECTION_REFUSED,
self.l2cap_channel.connection.peer_address,
BT_BR_EDR_TRANSPORT,
self.l2cap_channel.connection.peer_address,
'rfcomm'
))
else: