fix height
This commit is contained in:
parent
2f88d81fa5
commit
a10d6568f1
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ def image_to_string(image_file):
|
|||
|
||||
# Get image dimensions
|
||||
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.")
|
||||
|
||||
# Create the string representation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue