We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a1c8ff commit ea802abCopy full SHA for ea802ab
adafruit_platformdetect/chip.py
@@ -59,7 +59,7 @@ def id(self): # pylint: disable=invalid-name,too-many-branches,too-many-return-s
59
# Check for Nova connection
60
from adafruit_blinka.microcontroller.nova import Connection
61
binho = Connection.getInstance()
62
- if binho == None:
+ if binho is None:
63
raise RuntimeError('BLINKA_NOVA environment variable ' + \
64
'set, but no NOVA device found')
65
return BINHO
0 commit comments