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, 2 insertions, 0 deletions
diff --git a/python/report_ops/scotia.py b/python/report_ops/scotia.py
index b0eefa1e..ffd39c70 100644
--- a/python/report_ops/scotia.py
+++ b/python/report_ops/scotia.py
@@ -1,5 +1,6 @@
import logging
import datetime
+import time
from contextlib import contextmanager
import re
@@ -49,6 +50,7 @@ def navigate_to_msg(driver, workdate):
).group()
date = datetime.datetime.strptime(date_string, "%Y-%m-%d").date()
if date == workdate:
+ time.sleep(5)
msg.click()
return
raise ValueError(f"Could not find a file for this date {workdate}")