Merge pull request #42 from rassie/patch-1

Fix a typo (at least looks like it)
This commit is contained in:
Simon Conseil
2013-10-13 14:51:02 -07:00

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