aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-21 22:38:16 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-21 22:39:57 +0100
commit42e12102a979a03f156e71fc86006f61c905f7dd (patch)
tree1d6ca0fc4d15a443ce3f688177518ce1909fef1c
parent6127693ed9b7157bff55dd495a1da66e0f61c4d1 (diff)
downloadyoutube-dl-42e12102a979a03f156e71fc86006f61c905f7dd.tar.xz
[YoutubeDL] Fix multi_video check
-rwxr-xr-xyoutube_dl/YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 0a3569304..fde026fbf 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -624,7 +624,7 @@ class YoutubeDL(object):
return self.process_ie_result(
new_result, download=download, extra_info=extra_info)
- elif result_type == 'playlist' or playlist == 'multi_video':
+ elif result_type == 'playlist' or result_type == 'multi_video':
# We process each entry in the playlist
playlist = ie_result.get('title', None) or ie_result.get('id', None)
self.to_screen('[download] Downloading playlist: %s' % playlist)