Skip to content

Commit

Permalink
Ok, the Escapist test was passing only in my Travis repo, do not ask …
Browse files Browse the repository at this point in the history
…me why; also, a small bugfix to the latest commit
  • Loading branch information
FiloSottile committed Dec 31, 2012
1 parent 95fedbf commit 0214ce7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
"name": "Escapist",
"url": "http://www.escapistmagazine.com/videos/view/the-escapist-presents/6618-Breaking-Down-Baldurs-Gate",
"file": "6618-Breaking-Down-Baldurs-Gate.flv",
"md5": "c6793dbda81388f4264c1ba18684a74d"
"md5": "c6793dbda81388f4264c1ba18684a74d",
"skip": "Fails with timeout on Travis"
},
{
"name": "GooglePlus",
Expand Down
2 changes: 1 addition & 1 deletion youtube_dl/FileDownloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def download(self, url_list):
# 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 []:
Expand Down

0 comments on commit 0214ce7

Please sign in to comment.