Skip to content

Commit 20061fc

Browse files
authored
Merge pull request InstaPy#4603 from jeromecaisip/patch-1
Fix Argument Being Interpreted as Sequence
2 parents c64ad2d + 95ab20a commit 20061fc

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ The **goal** of this file is explaining to the users of our project the notable
44
_The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)_.
55

66

7+
## [0.5.3] - 2019-07-02
8+
### Fixed
9+
- Argument Being Interpreted as Sequence in `bypass_suspicious_login`
10+
11+
712
## [0.5.2] - 2019-06-28
813
### Fixed
914
- `session.get_relationship_counts()` broken behavior

instapy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88

99

1010
# __variables__ with double-quoted values will be available in setup.py
11-
__version__ = "0.5.2"
11+
__version__ = "0.5.3"
1212

instapy/login_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ def bypass_suspicious_login(browser, bypass_with_mobile):
133133
try:
134134
sleep(5)
135135
# locate wrong security code message
136-
wrong_login = browser.find_element_by_xpath((
137-
read_xpath(bypass_suspicious_login.__name__,"wrong_login")))
136+
wrong_login = browser.find_element_by_xpath(
137+
read_xpath(bypass_suspicious_login.__name__,"wrong_login"))
138138

139139
if wrong_login is not None:
140140
print(('Wrong security code! Please check the code Instagram'

0 commit comments

Comments
 (0)