diff --git a/time_lapse/thumbnail.py b/time_lapse/thumbnail.py index f602f9a..7abeef1 100644 --- a/time_lapse/thumbnail.py +++ b/time_lapse/thumbnail.py @@ -15,7 +15,7 @@ def create_thumbnail( with Image.open(poster_path) as image: image.resize( size=(width, height), - resample=Image.LANCZOS, + resample=Image.Resampling.LANCZOS, ).save( thumbnail_path, compress=False,