From 2a574470186b664adc89fd0b5f2c3ba39e92650c Mon Sep 17 00:00:00 2001 From: ArabCoders Date: Thu, 16 Nov 2023 20:50:02 +0300 Subject: [PATCH] Removed default param for error --- app/ytdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ytdl.py b/app/ytdl.py index ddf7386..8e32292 100644 --- a/app/ytdl.py +++ b/app/ytdl.py @@ -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