From 2f6b69684fa89b11c1081e33208a1e778f34896e Mon Sep 17 00:00:00 2001 From: Nikolai Prokoschenko Date: Sun, 13 Oct 2013 16:58:20 +0200 Subject: [PATCH] Fix a typo (at least looks like it) --- sigal/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigal/video.py b/sigal/video.py index c3b2aad..29e547c 100644 --- a/sigal/video.py +++ b/sigal/video.py @@ -63,7 +63,7 @@ def generate_video(source, outname, size, options={}): w_dst, h_dst = size base, src_ext = os.path.splitext(source) base, dst_ext = os.path.splitext(outname) - if dst_ext == src_ext and w_src <= w_dst and h_src <= w_dst: + if dst_ext == src_ext and w_src <= w_dst and h_src <= h_dst: shutil.copy(source, outname) return