Skip to content

Commit 7c13714

Browse files
committed
VkApi.captcha_handler: fix ignoring captcha
1 parent 5ceb2a6 commit 7c13714

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vk_api/vk_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def check_token(self):
287287

288288
def captcha_handler(self, captcha):
289289
""" http://vk.com/dev/captcha_error """
290-
pass
290+
raise captcha
291291

292292
def need_validation_handler(self, error):
293293
""" http://vk.com/dev/need_validation """

0 commit comments

Comments
 (0)