Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang committed Dec 8, 2023
1 parent f8c3d76 commit 03f2d45
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/python_rucaptcha/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
import requests
from requests.adapters import HTTPAdapter

from . import enums
from .enums import SaveFormatsEnm
from .enums import ServiceEnm, SaveFormatsEnm
from .config import RETRIES, ASYNC_RETRIES
from .serializer import TaskSer, CaptchaOptionsSer, CreateTaskBaseSer, GetTaskResultRequestSer, GetTaskResultResponseSer
from .result_handler import get_sync_result, get_async_result
Expand All @@ -25,7 +24,7 @@ def __init__(
rucaptcha_key: str,
method: str,
sleep_time: int = 10,
service_type: str = enums.ServiceEnm.TWOCAPTCHA.value,
service_type: str = ServiceEnm.TWOCAPTCHA,
**kwargs,
):
"""
Expand Down

0 comments on commit 03f2d45

Please sign in to comment.