Skip to content

Commit 7ccf004

Browse files
committed
Fix crash on captcha
1 parent d1853c0 commit 7ccf004

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

vk_api/vk_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,8 @@ def __init__(self, vk, captcha_sid,
475475
self.args = args or ()
476476
self.kwargs = kwargs or {}
477477

478+
self.code = CAPTCHA_ERROR_CODE
479+
478480
self.key = None
479481
self.url = url
480482

0 commit comments

Comments
 (0)