From 08df2b623ea290024a9dadc7cd017f7598945e1e Mon Sep 17 00:00:00 2001 From: Andrei Date: Sun, 15 Dec 2024 02:09:01 +0300 Subject: [PATCH] Update aio_captcha_handler.py --- src/python3_anticaptcha/core/aio_captcha_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python3_anticaptcha/core/aio_captcha_handler.py b/src/python3_anticaptcha/core/aio_captcha_handler.py index c8fbcee..c73a400 100644 --- a/src/python3_anticaptcha/core/aio_captcha_handler.py +++ b/src/python3_anticaptcha/core/aio_captcha_handler.py @@ -56,7 +56,7 @@ class AIOCaptchaHandler(CaptchaHandler): # if a local file link is passed if captcha_file: self.captcha_params.create_task_payload.task.update( - {"body": base64.b64encode(self._local_file_captcha(captcha_file)).decode("utf-8")} + {"body": base64.b64encode(self._local_file_captcha(captcha_file=captcha_file)).decode("utf-8")} ) # if the file is transferred in base64 encoding elif captcha_base64: