From a37d902b7bef215b438bcefae3c048435e42ac0c Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Tue, 3 Sep 2024 09:37:12 +0300 Subject: [PATCH] Fixed missing argument --- services/other.py | 2 +- services/utils.py | 4 ++-- services/youtube.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/services/other.py b/services/other.py index 5738a31..bfe2f19 100644 --- a/services/other.py +++ b/services/other.py @@ -160,7 +160,7 @@ def rimgo(mightyList): mightyList['rimgo'] = _list print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + 'rimgo') except Exception: - fetchCache('rimgo') + fetchCache('rimgo', mightyList) logging.error(traceback.format_exc()) diff --git a/services/utils.py b/services/utils.py index 4558fa2..b6b781a 100644 --- a/services/utils.py +++ b/services/utils.py @@ -182,7 +182,7 @@ def fetchRegexList(frontend, url, regex, mightyList): mightyList[frontend] = _list print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend) except Exception: - fetchCache(frontend) + fetchCache(frontend, mightyList) logging.error(traceback.format_exc()) @@ -217,7 +217,7 @@ def fetchTextList(frontend, url, prepend): mightyList[frontend] = _list print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend) except Exception: - fetchCache(frontend) + fetchCache(frontend, mightyList) logging.error(traceback.format_exc()) diff --git a/services/youtube.py b/services/youtube.py index 0f2db01..53d2540 100644 --- a/services/youtube.py +++ b/services/youtube.py @@ -66,7 +66,7 @@ def piped(mightyList): _list['clearnet'].remove("https://piped.video") print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend) except Exception: - fetchCache(frontend) + fetchCache(frontend, mightyList) logging.error(traceback.format_exc()) @@ -107,7 +107,7 @@ def poketube(mightyList): mightyList[frontend] = _list print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend) except Exception: - fetchCache(frontend) + fetchCache(frontend, mightyList) logging.error(traceback.format_exc())