Closed
Description
After updating to the latest version, my script began crashing with the following stack:
...
File "<redacted>/lib/python3.7/site-packages/adafruit_ble/__init__.py", line 268, in start_scan
advertisement = adv_type(entry=entry)
File "<redacted>/lib/python3.7/site-packages/adafruit_ble/advertising/standard.py", line 167, in __init__
self.flags.general_discovery = True
AttributeError: 'NoneType' object has no attribute 'general_discovery'
Perhaps related to the lazy object instantiation of self.flags
from the parent class.
Reverting to version 7.3.4 fixes the problem.
Metadata
Metadata
Assignees
Labels
No labels