Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zulko committed Mar 9, 2021
1 parent 27e80a9 commit 2830991
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion moviepy/Clip.py
Expand Up @@ -439,7 +439,9 @@ def iter_frames(self, fps=None, with_times=False, logger=None, dtype=None):
for frame in myclip.iter_frames()])
"""
logger = proglog.default_bar_logger(logger)
for frame_index in logger.iter_bar(frame_index=np.arange(0, int(self.duration * fps))):
for frame_index in logger.iter_bar(
frame_index=np.arange(0, int(self.duration * fps))
):
# int is used to ensure that floating point errors are rounded
# down to the nearest integer
t = frame_index / fps
Expand Down

0 comments on commit 2830991

Please sign in to comment.