From a3195288ed34ab26112d760c933d95f06bcd180d Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 18 Dec 2023 17:32:16 +0800 Subject: [PATCH] update for ticket-plus. --- chrome_tixcraft.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index 6d06953..6e763f7 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -11389,7 +11389,7 @@ def ticketplus_order_expansion_panel(driver, config_dict, current_layout_style): if is_need_refresh: try: - # vue mode, refresh need more condition to check. + # vue mode, refresh need to check more conditions to check. driver.refresh() pass except Exception as exc: @@ -11549,8 +11549,12 @@ def ticketplus_order(driver, config_dict, ocr, Captcha_Browser, ticketplus_dict) #print("is_button_disabled:", is_button_disabled) is_captcha_sent = False if is_button_disabled: + is_price_assign_by_bot = False is_price_assign_by_bot = ticketplus_order_expansion_panel(driver, config_dict, current_layout_style) + if not is_price_assign_by_bot: + is_price_assign_by_bot = ticketplus_assign_ticket_number(driver, config_dict) + is_question_popup = False is_answer_sent = False if is_price_assign_by_bot: