Commit f132fa3
fix: changes the captcha_type condition because with the or condition… (#59)
* fix: changes the captcha_type condition because with the or condition it will always fall into the exception
The previous condition if captcha_type != "image" or "token": was wrong because regardless of what I passed in the captcha_type it will always enter the condition because it is checking if the captcha_type is different from "image" or if the string " token " is true and because it is a string with value it will always fall into the condition
* Update version to 2.6.2 in setup.py
---------
Co-authored-by: alperensert <63921520+alperensert@users.noreply.github.com>1 parent 1320507 commit f132fa3
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments