diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-04-16 01:39:07 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-04-16 01:39:07 +0700 |
commit | d35dc344af8ca0b4cc9ea738a290c04842adb9db (patch) | |
tree | a552df86e465f607fae82440f985c9414de36716 /youtube_dl/__main__.py | |
parent | 51350db5a395c45cb181b1813a71b5e1aff86993 (diff) |
[YoutubeDL] Apply expand_path after output template substitution
os.path.expandvars translates '%%' into '%' making output template invalid.
Before: '%%(ext)s' -(expand path)-> '%(ext)s' -(outtmpl subst.)-> 'mp4'
After: '%%(ext)s' -(outtmpl subst.)-> '%(ext)s' -(expand path)-> '%(ext)s'
Diffstat (limited to 'youtube_dl/__main__.py')
0 files changed, 0 insertions, 0 deletions