We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f58f2f commit 7b0507cCopy full SHA for 7b0507c
1 file changed
README.md
@@ -243,10 +243,10 @@ from twocaptcha import TwoCaptcha
243
captcha_result = await captchaSolver(image)
244
245
async def captchaSolver(image):
246
-loop = asyncio.get_running_loop()
247
-with concurrent.futures.ThreadPoolExecutor() as pool:
248
-result = await loop.run_in_executor(pool, lambda: TwoCaptcha(API_KEY).normal(image))
249
-return result
+ loop = asyncio.get_running_loop()
+ with concurrent.future.ThreadPoolExecutor() as pool:
+ result = await loop.run_in_executor(pool, lambda: TwoCaptcha(API_KEY).normal(image))
+ return result
250
```
251
252
0 commit comments