We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b0a1c2 commit 17620d6Copy full SHA for 17620d6
1 file changed
godice/demo.py
@@ -58,7 +58,7 @@ def filter_godice_devices(dev_advdata_tuples):
58
return [
59
(dev, adv_data)
60
for dev, adv_data in dev_advdata_tuples
61
- if dev.name.startswith("GoDice")
+ if (dev.name and dev.name.startswith("GoDice"))
62
]
63
64
0 commit comments