Skip to content

Commit 8750a95

Browse files
author
Brennen Bearnes
committed
fix indentation in elif block
1 parent a90e624 commit 8750a95

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adafruit_character_lcd/character_lcd_rgb.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ def __init__(self, rs, en, d4, d5, d6, d7, cols, lines,
165165
# Assume a digitalio.DigitalInOut or compatible interface:
166166
pin.direction = digitalio.Direction.OUTPUT
167167
elif not hasattr(pin, 'duty_cycle'):
168-
raise TypeError(
169-
'RGB LED objects must be instances of digitalio.DigitalInOut'
170-
' or pulseio.PWMOut, or provide a compatible interface.'
171-
)
168+
raise TypeError(
169+
'RGB LED objects must be instances of digitalio.DigitalInOut'
170+
' or pulseio.PWMOut, or provide a compatible interface.'
171+
)
172172

173173
# initialize the display
174174
self._write8(0x33)

0 commit comments

Comments
 (0)