fix tests

This commit is contained in:
Ace
2024-02-10 22:43:57 +01:00
parent d927b8ebf6
commit a7f3622e52
7 changed files with 11 additions and 13 deletions

View File

@@ -79,7 +79,7 @@ class Inkyimage(inkycal_module):
im.resize(width=im_width, height=im_height)
# convert images according to specified palette
im_black, im_colour = image_to_palette(image=im, palette=self.palette, dither=self.dither)
im_black, im_colour = image_to_palette(image=im.image.convert("RGB"), palette=self.palette, dither=self.dither)
# with the images now send, clear the current image
im.clear()