We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a15e2b5 commit 039879eCopy full SHA for 039879e
Star_Trek_Data_Dispenser/code.py
@@ -1511,7 +1511,8 @@ def toggle_brightness():
1511
display.brightness = DIM_BRIGHTNESS
1512
else:
1513
display.brightness = FULL_BRIGHTNESS
1514
- print(f"Brightness: {"dim" if is_dimmed else "full"}")
+ bright_label = "dim" if is_dimmed else "full"
1515
+ print(f"Brightness: {bright_label}")
1516
1517
1518
DEMO_HOLD = 3 # seconds per screen in demo mode
0 commit comments