minor fix

This commit is contained in:
2025-07-09 15:45:39 +08:00
parent eefe6de249
commit a2cb6080b0

View File

@@ -211,7 +211,7 @@ def main():
try:
wait = WebDriverWait(driver, timeout=args.interval)
alert = wait.until(lambda x: x.find_element(By.CSS_SELECTOR, "div.io-ox-alert.io-ox-alert-error"))
except:
except TimeoutException:
sents[current] = ''
occurrence[0] += 1
global sent