Skip to content

Commit c543cd5

Browse files
authored
Merge pull request #17 from ladyada/master
fix broken travis runs due to blinka not installing on the virtual linux
2 parents 49ccd2a + fb56127 commit c543cd5

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
@@ -80,7 +80,7 @@ def _linux_id(self):
8080
linux_id = GENERIC_X86
8181

8282
compatible = self.detector.get_device_compatible()
83-
if 'tegra' in compatible:
83+
if compatible and 'tegra' in compatible:
8484
linux_id = TEGRAXXX
8585
elif hardware in ("BCM2708", "BCM2709", "BCM2835"):
8686
linux_id = BCM2XXX

0 commit comments

Comments
 (0)