]> git.bitcoin.ninja Git - youtube-dl/commit
[utils] Improve prepend_extension
authorSergey M․ <dstftw@gmail.com>
Sat, 2 May 2015 17:06:01 +0000 (23:06 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 2 May 2015 17:06:01 +0000 (23:06 +0600)
commite65e4c88748f2d245aa683116a2c6de907186751
treee811f6731bc4a505e8279afda4b67d31123f687e
parent21f6330274c6f87c796bd9248ed82d2bc73de969
[utils] Improve prepend_extension

Now `ext` is appended to filename if real extension != expected extension.
youtube_dl/utils.py