aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xselenium/withdraw_buy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/selenium/withdraw_buy.py b/selenium/withdraw_buy.py
index c886329ad..a7c36fe68 100755
--- a/selenium/withdraw_buy.py
+++ b/selenium/withdraw_buy.py
@@ -200,7 +200,7 @@ def register(ctx):
try:
ctx.wait.until(EC.element_to_be_clickable((By.ID,
"select-exchange")))
- except NoSuchElementException:
+ except (NoSuchElementException, TimeoutException):
logger.error("Selecting exchange impossible")
return False
return True