0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

Fix FakeDownloaders

This commit is contained in:
Philipp Hagemeister 2013-04-30 18:48:45 +02:00
parent dbc50fdf82
commit 8749b71273
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ def __init__(self):
self.params = parameters
def to_screen(self, s):
print(s)
def trouble(self, s):
def trouble(self, s, tb=None):
raise Exception(s)
def extract_info(self, url):
self.result.append(url)

View file

@ -30,7 +30,7 @@ def __init__(self):
self.params = parameters
def to_screen(self, s):
print(s)
def trouble(self, s):
def trouble(self, s, tb=None):
raise Exception(s)
def download(self, x):
self.result.append(x)