Minor code improvements

This commit is contained in:
aceisace
2022-04-10 06:35:08 +02:00
parent f452135b42
commit 5cd04bda04
16 changed files with 84 additions and 95 deletions

View File

@@ -88,7 +88,7 @@ class Inkyimage(inkycal_module):
im.remove_alpha()
# if autoflip was enabled, flip the image
if self.autoflip == True:
if self.autoflip:
im.autoflip(self.orientation)
# resize the image so it can fit on the epaper