Skip to content

Commit ea802ab

Browse files
committed
Fix Comparison expr is None check from pylint
1 parent 0a1c8ff commit ea802ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_platformdetect/chip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def id(self): # pylint: disable=invalid-name,too-many-branches,too-many-return-s
5959
# Check for Nova connection
6060
from adafruit_blinka.microcontroller.nova import Connection
6161
binho = Connection.getInstance()
62-
if binho == None:
62+
if binho is None:
6363
raise RuntimeError('BLINKA_NOVA environment variable ' + \
6464
'set, but no NOVA device found')
6565
return BINHO

0 commit comments

Comments
 (0)