aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/report_ops/scotia.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/report_ops/scotia.py b/python/report_ops/scotia.py
index 860ab669..70889351 100644
--- a/python/report_ops/scotia.py
+++ b/python/report_ops/scotia.py
@@ -20,8 +20,8 @@ def download_report(account_username, password, report_dir, workdate):
login(driver, account_username, password)
navigate_to_inbox(driver, workdate)
attachment_element = get_attachment_element(driver)
- attachment_element.click()
driver.implicitly_wait(3)
+ attachment_element.click()
fname = attachment_element.text.split()[0]
return fname