added angle to rotate
This commit is contained in:
parent
65565e86b0
commit
d003279095
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class InkyScreen(commands.Cog):
|
||||||
y -= height_diff
|
y -= height_diff
|
||||||
else:
|
else:
|
||||||
self.bot.logger.warning("InkyScreen: Text too long to fit on image.")
|
self.bot.logger.warning("InkyScreen: Text too long to fit on image.")
|
||||||
image = image.rotate()
|
image = image.rotate(180)
|
||||||
self.display.set_image(image)
|
self.display.set_image(image)
|
||||||
self.display.show()
|
self.display.show()
|
||||||
self.bot.logger.info("InkyScreen: Text successfully written to image.")
|
self.bot.logger.info("InkyScreen: Text successfully written to image.")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue