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

@@ -255,7 +255,7 @@ def image_to_palette(
else:
logger.error("The given palette is unsupported.")
raise ValueError("The given palette is not supported.")
raise ValueError(f"The given palette ({palette}) is not supported.")
if pal:
# The palette needs to have 256 colors, for this, the black-colour