diff --git a/video/__init__.py b/video/__init__.py index 435cda2..315114e 100644 --- a/video/__init__.py +++ b/video/__init__.py @@ -6,6 +6,7 @@ import os class Video: def __init__(self, video_number: str): + video_number = video_number.strip() if len(video_number) <= 2: raise InvalidVideoNumberException( f"The video number {video_number} is too short!"