Skip to content

Video editing with Python

Fixed missing list

LunarLandingf0372ade94f0
diff --git a/moviepy/video/VideoClip.py b/moviepy/video/VideoClip.py
index bcc6bb2b..1368b9d5 100644
--- a/moviepy/video/VideoClip.py
+++ b/moviepy/video/VideoClip.py
@@ -553,7 +553,7 @@ class VideoClip(Clip):
# is the position relative (given in % of the clip's size) ?
if self.relative_pos:
- for i, dim in enumerate(wf, hf):
+ for i, dim in enumerate([wf, hf]):
if not isinstance(pos[i], str):
pos[i] = dim * pos[i]