From ad34f9018ce8a8d6f41ae2a2e3dd38b7e216c07d Mon Sep 17 00:00:00 2001 From: Break27 Date: Fri, 14 Aug 2026 14:17:09 +0800 Subject: [PATCH] update: bump 'common' version to 0.1.21 --- main.py | 4 ++-- requirements.txt | Bin 892 -> 892 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index ffd3924..e6c92ef 100644 --- a/main.py +++ b/main.py @@ -55,7 +55,7 @@ def main(driver: WebDriver, logger = logging.getLogger('main')): try: setup(driver, parameters) - until(lambda x: 'loginProgress' in x.find_element(By.TAG_NAME, "body").get_attribute('class'), watch=False) + until(lambda x: 'loginProgress' in x.find_element(By.TAG_NAME, "body").get_attribute('class')) account = str(parameters['account']) password = str(parameters['password']) logger.info('Logging in as %s (%s)', account.split('@', 1).pop(0).capitalize(), account) @@ -202,7 +202,7 @@ def main(driver: WebDriver, logger = logging.getLogger('main')): if parameters['open']: try: path = Path(parameters['directory']) / filename - until(lambda _: path.exists(), watch=False) + until(lambda _: path.exists()) Popen(['start', str(path)], shell=True) except Exception as e: logger.warning('Unable to open exported excel file at %s', str(path), exc_info=e) diff --git a/requirements.txt b/requirements.txt index d228b5df0161a1bccc6a06baa27e1b3270317ea8..7853cd83b2255e1efa7e4491e451b4f06f5f6205 100644 GIT binary patch delta 91 zcmeyv_J?i44gWL-O9oShG=?OGR0cx^GX?`7nFOSbfMRA~xfGy$GEg=NNGAeuDp1A% XC}IKTr!p7=A;=Vv3C5e%8AF)>Scwp+ delta 91 zcmeyv_J?i44gVyDG=?Mw69!X;L