From 6a2fa7a8cf0ac2d50ea4d9080e8fbc2657467e14 Mon Sep 17 00:00:00 2001 From: Mark Date: Sun, 26 Mar 2017 15:12:08 -0400 Subject: [PATCH] oops --- youtube_dl/YoutubeDL.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 6e9e0cb82..89663cc81 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -952,8 +952,9 @@ class YoutubeDL(object): extra_info=extra) entry_result_uploaddate = entry_result.get('upload_date') - if self.params.get('date_ordered_playlist') and entry_result_uploaddate not in self.params.get('daterange'): - break + if entry_result_uploaddate: + if self.params.get('date_ordered_playlist') and entry_result_uploaddate not in self.params.get('daterange'): + break playlist_results.append(entry_result)