From e0af954baa672dd32c7a7915d4d4391a9ed70c80 Mon Sep 17 00:00:00 2001 From: uael Date: Thu, 30 Mar 2023 14:05:43 +0000 Subject: [PATCH] att: fixed use of unknown attribute --- bumble/att.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumble/att.py b/bumble/att.py index 9387a59a..8311d181 100644 --- a/bumble/att.py +++ b/bumble/att.py @@ -190,7 +190,7 @@ class ATT_Error(ProtocolError): super().__init__( error_code, error_namespace='att', - error_name=ATT_PDU.error_name(self.error_code), + error_name=ATT_PDU.error_name(error_code), ) self.att_handle = att_handle self.message = message