Skip to content

Commit 490a166

Browse files
committed
return none so pylint is happy
1 parent 828493a commit 490a166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_seesaw/seesaw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def _get_eeprom_i2c_addr(self):
457457
elif chip_id in (_SAMD09_HW_ID_CODE,):
458458
return 0x3F
459459
else:
460-
raise RuntimeError("Unknown chip id", hex(chip_id))
460+
return None
461461

462462
def set_i2c_addr(self, addr):
463463
"""Store a new address in the device's EEPROM and reboot it."""

0 commit comments

Comments
 (0)