Skip to content

Commit e135ce4

Browse files
committed
Merge branch 'ubuntu-disco' of https://github.com/sommersoft/Adafruit_Python_PlatformDetect into ubuntu-disco
2 parents 633a4a9 + 8c64f6f commit e135ce4

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
@@ -131,7 +131,7 @@ def _linux_id(self): # pylint: disable=too-many-branches
131131
if isinstance(hardware, str):
132132
if hardware in BCM_RANGE:
133133
linux_id = BCM2XXX
134-
elif instance(hardware, list):
134+
elif isinstance(hardware, list):
135135
if set(hardware) & BCM_RANGE:
136136
linux_id = BCM2XXX
137137

0 commit comments

Comments
 (0)