mirror of
https://github.com/google/bumble.git
synced 2026-05-06 03:38:01 +00:00
use the correct constants as previously renamed
This commit is contained in:
@@ -262,7 +262,7 @@ class Characteristic(Attribute):
|
||||
|
||||
def get_descriptor(self, descriptor_type):
|
||||
for descriptor in self.descriptors:
|
||||
if descriptor.uuid == descriptor_type:
|
||||
if descriptor.type == descriptor_type:
|
||||
return descriptor
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Reference in New Issue
Block a user