fix height
This commit is contained in:
parent
2f88d81fa5
commit
a10d6568f1
@ -79,7 +79,7 @@ def image_to_string(image_file):
|
|||||||
|
|
||||||
# Get image dimensions
|
# Get image dimensions
|
||||||
width, height = img.size
|
width, height = img.size
|
||||||
if width != WIDTH or HEIGHT != 9:
|
if width != WIDTH or height != HEIGHT:
|
||||||
raise ValueError("The image must be exactly 22x9 pixels.")
|
raise ValueError("The image must be exactly 22x9 pixels.")
|
||||||
|
|
||||||
# Create the string representation
|
# Create the string representation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user