From 4be8d30d65436233c000f0a0a9ace37985018d41 Mon Sep 17 00:00:00 2001 From: Andrei Date: Sat, 5 Oct 2024 21:12:53 +0300 Subject: [PATCH] Update base.py --- src/python3_anticaptcha/core/base.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/python3_anticaptcha/core/base.py b/src/python3_anticaptcha/core/base.py index c7a8ee9..4c25f2d 100644 --- a/src/python3_anticaptcha/core/base.py +++ b/src/python3_anticaptcha/core/base.py @@ -150,14 +150,9 @@ class BaseCaptcha: elif captcha_link: try: content = self.url_open(url=captcha_link, **kwargs).content - logging.warning(f"{save_format = }") - logging.warning(f"{save_format == SaveFormatsEnm.CONST.value = }") - logging.warning(f"{save_format == SaveFormatsEnm.CONST = }") # according to the value of the passed parameter, select the function to save the image if save_format == SaveFormatsEnm.CONST.value: - logging.warning(f"TRY TO CREATE FOLDER WITH FILE") self._file_const_saver(content, file_path, file_extension=file_extension) - logging.warning(f"TRY TO CREATE FOLDER") self.create_task_payload.task.update({"body": base64.b64encode(content).decode("utf-8")}) except Exception as error: self.result.errorId = 12