Skip to content

Commit 549f42d

Browse files
authored
Merge pull request #1497 from adafruit/tannewt-patch-1
Fix raising exception
2 parents 08f7b43 + 991b612 commit 549f42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Matrix_Quote_Board/matrix_quote_board.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def update_data():
6161
print(error)
6262

6363
if not quotes or not colors:
64-
raise "Please add at least one quote and color to your feeds"
64+
raise RuntimeError("Please add at least one quote and color to your feeds")
6565
matrixportal.set_text(" ", 1)
6666

6767

0 commit comments

Comments
 (0)