fixed bug in unpacking int
This commit is contained in:
parent
e23746ede6
commit
ab4033c5fb
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue