Skip to content

Commit f143cf7

Browse files
committed
don't bother with ValueError message, since it reflects an internal coding mistake
1 parent 7414c5f commit f143cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_sdcard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def _cmd(self, card, cmd, arg=0, crc=0, response_buf=None, data_block=True, wait
245245
# arg can be a 4-byte buf
246246
buf[1:5] = arg
247247
else:
248-
raise ValueError("bad arg")
248+
raise ValueError()
249249

250250
if (crc == 0):
251251
buf[5] = calculate_crc(buf[:-1])

0 commit comments

Comments
 (0)