Skip to content

Commit

Permalink
Apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
tburrows13 committed Mar 30, 2020
1 parent 5a859dc commit f544085
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions moviepy/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,13 @@

# These transitions effects are all contained in one file so there is no way to automatically
# generate a list of them
for method_name in ["crossfadein",
"crossfadeout",
"slide_in",
"slide_out",
"make_loopable"]:
for method_name in [
"crossfadein",
"crossfadeout",
"slide_in",
"slide_out",
"make_loopable",
]:
exec("VideoClip.%s = transfx.%s" % (method_name, method_name))


Expand All @@ -98,6 +100,7 @@ def show(self, *args, **kwargs):
"""NOT AVAILABLE : clip.show requires Pygame installed."""
raise ImportError("clip.show requires Pygame installed")


VideoClip.preview = preview
VideoClip.show = show

Expand Down

0 comments on commit f544085

Please sign in to comment.