Skip to content

Video editing with Python

make PEP8 compatible

Billy Earney1bb1e3c09e1a
diff --git a/moviepy/video/compositing/concatenate.py b/moviepy/video/compositing/concatenate.py
index aee3d7f0..9de94e5b 100644
--- a/moviepy/video/compositing/concatenate.py
+++ b/moviepy/video/compositing/concatenate.py
@@ -103,11 +103,8 @@ def concatenate_videoclips(clips, method="chain", transition=None,
for (c, t) in zip(clips, tt)],
size = (w, h), bg_color=bg_color, ismask=ismask)
else:
- #get name of this function
- import sys
- _name = sys._getframe().f_code.co_name
-
- raise Exception("Moviepy Error: The 'method' argument of `{0}` must be 'chain' or 'compose'".format(_name))
+ raise Exception("Moviepy Error: The 'method' argument of "
+ "concatenate_videoclips must be 'chain' or 'compose'")
result.tt = tt