Fix a typo (at least looks like it)

This commit is contained in:
Nikolai Prokoschenko
2013-10-13 16:58:20 +02:00
parent 248a9b16ab
commit 2f6b69684f

View File

@@ -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