diff --git a/ofx_processor/downloaders/lcl.py b/ofx_processor/downloaders/lcl.py index 27791a4..7c20f76 100644 --- a/ofx_processor/downloaders/lcl.py +++ b/ofx_processor/downloaders/lcl.py @@ -28,7 +28,7 @@ class LclDownloader: download_folder = Path.home() / "Downloads" self.download_folder = download_folder.resolve() options = webdriver.FirefoxOptions() - # options.add_argument("-headless") + options.add_argument("-headless") options.set_preference("browser.download.dir", str(self.download_folder)) options.set_preference( "browser.helperApps.neverAsk.saveToDisk", "application/x-ofx" @@ -64,7 +64,7 @@ class LclDownloader: self._click(By.CLASS_NAME, "app-cta-button") click.secho("Logged in!", fg="green") - retry = False + retry = True while retry: try: self._click(By.CSS_SELECTOR, ".app-cta-button--primary") diff --git a/pyproject.toml b/pyproject.toml index 48c7e55..a373e1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ofx-processor" -version = "4.5.4" +version = "4.5.5" description = "Personal ofx processor" readme = "README.md" authors = ["Gabriel Augendre "]