Skip to content

Commit e76278c

Browse files
authored
Merge pull request #72 from rsbohn/main
align init() error messages
2 parents c9a64c9 + 262c9be commit e76278c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_displayio_layout/layouts/tab_layout.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ def __init__(
9090
if hasattr(board, "DISPLAY"):
9191
display = board.DISPLAY
9292
if inactive_tab_spritesheet is None:
93-
raise AttributeError("Must pass active_tab_spritesheet")
94-
if showing_tab_spritesheet is None:
9593
raise AttributeError("Must pass inactive_tab_spritesheet")
94+
if showing_tab_spritesheet is None:
95+
raise AttributeError("Must pass showing_tab_spritesheet")
9696
if tab_count is None:
9797
raise AttributeError("Must pass tab_count")
9898

0 commit comments

Comments
 (0)