Fix raising exception

This commit is contained in:
Scott Shawcroft 2021-03-29 12:59:01 -07:00 committed by GitHub
parent a9123da3ec
commit 991b61225e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ def update_data():
print(error)
if not quotes or not colors:
raise "Please add at least one quote and color to your feeds"
raise RuntimeError("Please add at least one quote and color to your feeds")
matrixportal.set_text(" ", 1)