Skip to content

Commit

Permalink
Merge pull request #748 from DakkTest/patch-11
Browse files Browse the repository at this point in the history
Update amazon.py
  • Loading branch information
DakkJaniels committed Apr 30, 2021
2 parents 5209c81 + ee05303 commit f37f000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/amazon.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ def buy_it_now(self, offering_id, max_atc_retries=DEFAULT_MAX_ATC_TRIES):
timeout = self.get_timeout(5)
while self.driver.title == "" and time.time() < timeout:
time.sleep(0.5)
if self.driver.title != "Place Your Order - AmazonSmile Checkout":
if self.driver.title not in amazon_config["CHECKOUT_TITLES"]:
retry += 1
if retry > max_atc_retries:
return False
Expand Down

0 comments on commit f37f000

Please sign in to comment.