From 1bf7ec238260eafeda791145d6c10177427fc95a Mon Sep 17 00:00:00 2001 From: N/Ame <173015200+grqz@users.noreply.github.com> Date: Fri, 13 Sep 2024 07:29:33 +1200 Subject: [PATCH] fix: logger warning `once` parameter (#8) Co-authored-by: grqx_wsl <173253225+grqx@users.noreply.github.com> --- yt_dlp_plugins/extractor/getpot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp_plugins/extractor/getpot.py b/yt_dlp_plugins/extractor/getpot.py index 50dbae5..b77d80a 100644 --- a/yt_dlp_plugins/extractor/getpot.py +++ b/yt_dlp_plugins/extractor/getpot.py @@ -45,7 +45,7 @@ def info(self, message): def warning(self, message, *, once=False): if self._logger: - self._logger.warning(self.format(message), once) + self._logger.warning(self.format(message), once=once) def error(self, message, *, is_error=True): if self._logger: