projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ok, the Escapist test was passing only in my Travis repo, do not ask me why; also...
[youtube-dl]
/
youtube_dl
/
FileDownloader.py
diff --git
a/youtube_dl/FileDownloader.py
b/youtube_dl/FileDownloader.py
index 53c68237b8ba5d44b9c612099e84ffa0654852b8..ebc2552dfc0933306a2e50b1e4a9b0bc8e501270 100644
(file)
--- a/
youtube_dl/FileDownloader.py
+++ b/
youtube_dl/FileDownloader.py
@@
-494,7
+494,7
@@
class FileDownloader(object):
# Extract information from URL and process it
videos = ie.extract(url)
- if len(videos) > 1 and self.fixed_template():
+ if len(videos
or []
) > 1 and self.fixed_template():
raise SameFileError(self.params['outtmpl'])
for video in videos or []: