fix bug for hkticketing

master
Max 2023-12-11 09:57:15 +08:00 committed by GitHub
parent be23b01498
commit 9ab81bdf40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -55,7 +55,7 @@ import webbrowser
import chromedriver_autoinstaller
CONST_APP_VERSION = "MaxBot (2023.12.02)"
CONST_APP_VERSION = "MaxBot (2023.12.03)"
CONST_MAXBOT_CONFIG_FILE = "settings.json"
CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt"
@ -8919,7 +8919,7 @@ def hkticketing_date_assign(driver, config_dict):
break
if len(row_text) > 0:
if '20' in row_text:
if not('20' in row_text):
row_text = ""
if ' Exhausted' in row_text:
row_text = ""
@ -9066,7 +9066,6 @@ def hkticketing_date_auto_select(driver, config_dict, fail_list):
print("is_password_appear:", is_password_appear)
print("is_date_assigned:", is_date_assigned)
print("is_page_ready:", is_page_ready)
print("formated_area_list:", formated_area_list)
print("auto_reload_coming_soon_page_enable:", auto_reload_coming_soon_page_enable)
if auto_reload_coming_soon_page_enable: