fixed bg color
This commit is contained in:
parent
85f6d5deef
commit
889dc72d7a
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ class InkyScreen(commands.Cog):
|
||||||
|
|
||||||
async def write_to_display(self, text: list):
|
async def write_to_display(self, text: list):
|
||||||
if text is not self.old_message:
|
if text is not self.old_message:
|
||||||
image = Image.new("P", (self.display.WIDTH, self.display.HEIGHT) (self.display.BLACK))
|
image = Image.new("P", (self.display.WIDTH, self.display.HEIGHT), (self.display.BLACK))
|
||||||
draw = ImageDraw.Draw(image)
|
draw = ImageDraw.Draw(image)
|
||||||
width = self.display.WIDTH
|
width = self.display.WIDTH
|
||||||
height = self.display.HEIGHT
|
height = self.display.HEIGHT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue