update for ticket-plus.

master
Max 2023-12-18 17:32:16 +08:00 committed by GitHub
parent 3db119634f
commit a3195288ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -11389,7 +11389,7 @@ def ticketplus_order_expansion_panel(driver, config_dict, current_layout_style):
if is_need_refresh: if is_need_refresh:
try: try:
# vue mode, refresh need more condition to check. # vue mode, refresh need to check more conditions to check.
driver.refresh() driver.refresh()
pass pass
except Exception as exc: 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) #print("is_button_disabled:", is_button_disabled)
is_captcha_sent = False is_captcha_sent = False
if is_button_disabled: 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) 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_question_popup = False
is_answer_sent = False is_answer_sent = False
if is_price_assign_by_bot: if is_price_assign_by_bot: