diff options
Diffstat (limited to 'python/report_ops/cash.py')
| -rw-r--r-- | python/report_ops/cash.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/python/report_ops/cash.py b/python/report_ops/cash.py index 3bebbc5a..6e8aff87 100644 --- a/python/report_ops/cash.py +++ b/python/report_ops/cash.py @@ -8,7 +8,6 @@ from .custodians import NT, UMB, BNY, SCOTIA from functools import partial from dataclasses import dataclass -from selenium.common.exceptions import StaleElementReferenceException from serenitas.utils.env import DAILY_DIR @@ -144,10 +143,7 @@ class SeleneScotiaCashReport( self._staging_queue.clear() def get_cash_report(self, prefix=None): - try: - self.download_reports(self.date) - except StaleElementReferenceException: - raise ValueError(f"File is not ready to download yet") + self.download_reports(self.date) REPORT_DIR = DAILY_DIR / "Selene" / "Scotia_reports" try: return next( |
