aboutsummaryrefslogtreecommitdiffstats
path: root/python/report_ops/scotia.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/report_ops/scotia.py')
-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 ffd39c70..c2b2dbdb 100644
--- a/python/report_ops/scotia.py
+++ b/python/report_ops/scotia.py
@@ -22,8 +22,8 @@ def download_report(account_username, password, report_dir, workdate):
navigate_to_msg(driver, workdate)
attachment_element = get_attachment_element(driver)
driver.implicitly_wait(3)
- attachment_element.click()
fname = attachment_element.text.split()[0]
+ attachment_element.click()
return fname