fixed bug in unpacking int

This commit is contained in:
phixxy 2024-02-02 22:59:48 -08:00
parent e23746ede6
commit ab4033c5fb

View file

@ -38,7 +38,8 @@ class InkyScreen(commands.Cog):
height = self.display.HEIGHT height = self.display.HEIGHT
lines = len(text) lines = len(text)
height_diff = height/lines height_diff = height/lines
x, y = 0 x = 0
y = 0
for line in text: for line in text:
if x <= height: if x <= height:
draw.text((x, y), line, self.display.YELLOW) draw.text((x, y), line, self.display.YELLOW)