Fix raising exception
This commit is contained in:
parent
a9123da3ec
commit
991b61225e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue