Merge pull request #916 from dlech/fix-crash-in-attribute-repr

fix crash in `bumble.att.Attribute.__repr__`
This commit is contained in:
Gilles Boccon-Gibod
2026-04-27 21:41:41 +02:00
committed by GitHub

View File

@@ -1083,7 +1083,7 @@ class Attribute(utils.EventEmitter, Generic[_T]):
else:
value_str = str(self.value)
if value_str:
value_string = f', value={self.value.hex()}'
value_string = f', value={value_str}'
else:
value_string = ''
return (