att: fixed use of unknown attribute

This commit is contained in:
uael
2023-03-30 14:05:43 +00:00
parent 044597de66
commit e0af954baa

View File

@@ -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