Skip to content

Commit

Permalink
Merge pull request #21 from MaxxRK/deepsource-transform-c96e1ade
Browse files Browse the repository at this point in the history
style: format code with Black and isort
  • Loading branch information
MaxxRK authored Jun 6, 2024
2 parents 1a38491 + 6876780 commit a82619a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vanguard/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def place_order(
try:
self.session.page.wait_for_selector(
"twe-trade-cannot-be-completed-modal tds-modal .modal__content",
timeout=3000
timeout=3000,
)
self.session.page.locator("xpath=//button[contains(text(), 'OK')]").click()
except PlaywrightTimeoutError:
Expand Down Expand Up @@ -197,7 +197,7 @@ def place_order(
if order_type == "SELL":
self.session.page.wait_for_selector(
"twe-cost-basis-modal tds-checkbox .tds-checkbox__indicator.tds-checkbox--blue",
timeout=3000
timeout=3000,
).click()
self.session.page.wait_for_selector(
"//button[contains(text(), ' Continue ')]",
Expand Down

0 comments on commit a82619a

Please sign in to comment.