Skip to content

Commit 15ca861

Browse files
committed
Fix formatting issue
1 parent d013527 commit 15ca861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: examples/ssd1306_pillow_animate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
break
7575
# Calculate width but skip drawing if off the left side of screen.
7676
if x < -10:
77-
bbox = draw.textbbox((0,0), c, font=font)
77+
bbox = draw.textbbox((0, 0), c, font=font)
7878
char_width, char_height = bbox[2] - bbox[0], bbox[3] - bbox[1]
7979
x += char_width
8080
continue
@@ -83,7 +83,7 @@
8383
# Draw text.
8484
draw.text((x, y), c, font=font, fill=255)
8585
# Increment x position based on chacacter width.
86-
bbox = draw.textbbox((0,0), c, font=font)
86+
bbox = draw.textbbox((0, 0), c, font=font)
8787
char_width, char_height = bbox[2] - bbox[0], bbox[3] - bbox[1]
8888
x += char_width
8989

0 commit comments

Comments
 (0)