Skip to content

Commit

Permalink
Update aioslimproto/display.py
Browse files Browse the repository at this point in the history
Co-authored-by: Marcel van der Veldt <[email protected]>
  • Loading branch information
JamiePhonic and marcelveldt authored Sep 12, 2024
1 parent 4dc085d commit 569365f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aioslimproto/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def __init__(
self.width = width
self.visualisation_type = visualisation_type
# NOTE: height can only be 32, its not adjustable
self.image = Image.new("1", (self.width, 32))
self.image = Image.new("1", (width, 32))
self.fonts: dict[str, Font] = {}
for f in AVAILABLE_FONTS:
self.fonts[f] = Font(f)
Expand Down

0 comments on commit 569365f

Please sign in to comment.