YoutubeDL.post_process: simplify keep_video handling
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 17 Apr 2015 20:38:14 +0000 (22:38 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 17 Apr 2015 20:38:14 +0000 (22:38 +0200)
commitecc6bd1341cd03fd335058371c3efa63dfd31152
tree881b88fe0227805b4bc4d0ba61bba72b51bd7c49
parentce81b1411d182fbfe7bd6da7b875d50f37ae38d6
YoutubeDL.post_process: simplify keep_video handling

Since keep_video started as None we always set it to keep_video_wish unless it was None, so in the end keep_video == keep_video_wish. This should have been changed in f3ff1a3696c4080468e2cc5810c34273b148bd3e, but I didn't notice it.
youtube_dl/YoutubeDL.py