Skip to content

Commit d40d752

Browse files
authored
Update st7789_280x240_simpletest.py
another one...
1 parent 67e91d8 commit d40d752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/st7789_280x240_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# set the display rotation
1919
rotation = 90
20-
if rotation not in (0, 90, 180, 270):
20+
if rotation not in {0, 90, 180, 270}:
2121
raise ValueError("The value of rotation must be one of: 0, 90, 180, 270")
2222

2323
# Display settings depending on the selected rotation

0 commit comments

Comments
 (0)