Removed default param for error
This commit is contained in:
parent
9552fb3ca0
commit
2a57447018
|
|
@ -29,7 +29,7 @@ class DownloadQueueNotifier:
|
|||
raise NotImplementedError
|
||||
|
||||
class DownloadInfo:
|
||||
def __init__(self, id, title, url, quality, format, folder, custom_name_prefix, error=None):
|
||||
def __init__(self, id, title, url, quality, format, folder, custom_name_prefix, error):
|
||||
self.id = id if len(custom_name_prefix) == 0 else f'{custom_name_prefix}.{id}'
|
||||
self.title = title if len(custom_name_prefix) == 0 else f'{custom_name_prefix}.{title}'
|
||||
self.url = url
|
||||
|
|
|
|||
Loading…
Reference in New Issue