File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -265,9 +265,9 @@ def __str__(self):
265
265
parts = []
266
266
for attr in dir (self .__class__ ):
267
267
attribute_instance = getattr (self .__class__ , attr )
268
- if ( issubclass (attribute_instance .__class__ , AdvertisingDataField ) ):
268
+ if issubclass (attribute_instance .__class__ , AdvertisingDataField ):
269
269
if (issubclass (attribute_instance .__class__ , LazyObjectField ) and
270
- not attribute_instance .advertising_data_type in self .data_dict ):
270
+ not attribute_instance .advertising_data_type in self .data_dict ):
271
271
# Skip uninstantiated lazy objects; if we get
272
272
# their value, they will be be instantiated.
273
273
continue
Original file line number Diff line number Diff line change 34
34
import struct
35
35
from micropython import const
36
36
37
- from . import Advertisement , LazyField
37
+ from . import Advertisement , LazyObjectField
38
38
from .standard import ManufacturerData , ManufacturerDataField
39
39
40
40
__version__ = "0.0.0-auto.0"
You can’t perform that action at this time.
0 commit comments