1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-12-12 16:03:55 +01:00

Ok, the Escapist test was passing only in my Travis repo, do not ask me why; also, a small bugfix to the latest commit

This commit is contained in:
Filippo Valsorda 2012-12-31 19:21:28 +01:00
parent 95fedbf86b
commit 0214ce7c75
2 changed files with 3 additions and 2 deletions

View File

@ -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",

View File

@ -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 []: