fixed code
This commit is contained in:
@@ -4,7 +4,6 @@ from app.exceptions.invalid_image_exception import InvalidImageException
|
||||
|
||||
|
||||
class ImageValidator:
|
||||
|
||||
MIN_WIDTH = 50
|
||||
MIN_HEIGHT = 50
|
||||
|
||||
@@ -36,4 +35,4 @@ class ImageValidator:
|
||||
if height > self.MAX_HEIGHT:
|
||||
raise InvalidImageException(
|
||||
f"Image height is too large: {height}"
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user