2023-03-02, no delay for galaxy macau
parent
ceffdb7abe
commit
d9289fa907
|
@ -7099,6 +7099,12 @@ def hkticketing_main(driver, url, config_dict, hkticketing_dict):
|
||||||
hkticketing_nav_to_footer(driver)
|
hkticketing_nav_to_footer(driver)
|
||||||
hkticketing_go_to_payment(driver)
|
hkticketing_go_to_payment(driver)
|
||||||
|
|
||||||
|
# for ticketing.galaxymacau
|
||||||
|
if "/busy_galaxy.html" in url:
|
||||||
|
domain_name = url.split('/')[2]
|
||||||
|
new_url = "https://%s/default.aspx" % (domain_name)
|
||||||
|
driver.get(new_url)
|
||||||
|
|
||||||
return hkticketing_dict
|
return hkticketing_dict
|
||||||
|
|
||||||
def khan_go_buy_redirect(driver):
|
def khan_go_buy_redirect(driver):
|
||||||
|
|
11
settings.py
11
settings.py
|
@ -20,7 +20,7 @@ import webbrowser
|
||||||
import pyperclip
|
import pyperclip
|
||||||
import base64
|
import base64
|
||||||
|
|
||||||
CONST_APP_VERSION = u"MaxBot (2023.02.28)"
|
CONST_APP_VERSION = u"MaxBot (2023.03.02)"
|
||||||
|
|
||||||
CONST_SETTINGS_CONFIG_FILENAME = "settings.json"
|
CONST_SETTINGS_CONFIG_FILENAME = "settings.json"
|
||||||
|
|
||||||
|
@ -2294,11 +2294,12 @@ def get_action_bar(root, language_code):
|
||||||
btn_exit = ttk.Button(frame_action, text=translate[language_code]['exit'], command=btn_exit_clicked)
|
btn_exit = ttk.Button(frame_action, text=translate[language_code]['exit'], command=btn_exit_clicked)
|
||||||
#btn_exit.grid(column=2, row=0)
|
#btn_exit.grid(column=2, row=0)
|
||||||
|
|
||||||
btn_restore_defaults = ttk.Button(frame_action, text=translate[language_code]['restore_defaults'], command= lambda: btn_restore_defaults_clicked(language_code))
|
|
||||||
btn_restore_defaults.grid(column=2, row=0)
|
|
||||||
|
|
||||||
btn_launcher = ttk.Button(frame_action, text=translate[language_code]['config_launcher'], command= lambda: btn_launcher_clicked(language_code))
|
btn_launcher = ttk.Button(frame_action, text=translate[language_code]['config_launcher'], command= lambda: btn_launcher_clicked(language_code))
|
||||||
btn_launcher.grid(column=3, row=0)
|
btn_launcher.grid(column=2, row=0)
|
||||||
|
|
||||||
|
btn_restore_defaults = ttk.Button(frame_action, text=translate[language_code]['restore_defaults'], command= lambda: btn_restore_defaults_clicked(language_code))
|
||||||
|
btn_restore_defaults.grid(column=3, row=0)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return frame_action
|
return frame_action
|
||||||
|
|
Loading…
Reference in New Issue