Skip to content

Video editing with Python

linting

Zulko911ab00bd840
diff --git a/moviepy/video/VideoClip.py b/moviepy/video/VideoClip.py
index 9fe4f92f..8f42d7e1 100644
--- a/moviepy/video/VideoClip.py
+++ b/moviepy/video/VideoClip.py
@@ -1914,7 +1914,7 @@ class TextClip(ImageClip):
lines_height = line_breaks * line_height
paddings = real_font_size + stroke_width * 2
height = int(lines_height + paddings)
- except AttributeError as err:
+ except AttributeError:
height = int(bottom - top)
return (int(right - left), height)