2023-01-12, bugs fixed.
parent
ad14b98fc7
commit
6a99977414
|
@ -48,7 +48,7 @@ except Exception as exc:
|
||||||
import ssl
|
import ssl
|
||||||
ssl._create_default_https_context = ssl._create_unverified_context
|
ssl._create_default_https_context = ssl._create_unverified_context
|
||||||
|
|
||||||
CONST_APP_VERSION = u"MaxBot (2023.01.10)"
|
CONST_APP_VERSION = u"MaxBot (2023.01.12)"
|
||||||
|
|
||||||
CONST_HOMEPAGE_DEFAULT = "https://tixcraft.com"
|
CONST_HOMEPAGE_DEFAULT = "https://tixcraft.com"
|
||||||
|
|
||||||
|
@ -1661,14 +1661,17 @@ def tixcraft_auto_ocr(driver, ocr):
|
||||||
orc_answer = ocr.classification(img_base64)
|
orc_answer = ocr.classification(img_base64)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
pass
|
pass
|
||||||
|
else:
|
||||||
|
print("ddddocr is None")
|
||||||
|
|
||||||
if not orc_answer is None:
|
if not orc_answer is None:
|
||||||
print("orc_answer:", orc_answer)
|
print("orc_answer:", orc_answer)
|
||||||
if len(orc_answer)==4:
|
if len(orc_answer)==4:
|
||||||
tixcraft_manully_keyin_verify_code(driver, orc_answer)
|
tixcraft_manully_keyin_verify_code(driver, orc_answer)
|
||||||
else:
|
else:
|
||||||
tixcraft_manully_keyin_verify_code(driver, "")
|
tixcraft_manully_keyin_verify_code(driver)
|
||||||
|
else:
|
||||||
|
tixcraft_manully_keyin_verify_code(driver)
|
||||||
|
|
||||||
def tixcraft_ticket_main(driver, config_dict, ocr):
|
def tixcraft_ticket_main(driver, config_dict, ocr):
|
||||||
is_finish_checkbox_click = False
|
is_finish_checkbox_click = False
|
||||||
|
|
|
@ -19,7 +19,7 @@ import json
|
||||||
import webbrowser
|
import webbrowser
|
||||||
import pyperclip
|
import pyperclip
|
||||||
|
|
||||||
CONST_APP_VERSION = u"MaxBot (2023.01.11)"
|
CONST_APP_VERSION = u"MaxBot (2023.01.12)"
|
||||||
|
|
||||||
CONST_FROM_TOP_TO_BOTTOM = u"from top to bottom"
|
CONST_FROM_TOP_TO_BOTTOM = u"from top to bottom"
|
||||||
CONST_FROM_BOTTOM_TO_TOP = u"from bottom to top"
|
CONST_FROM_BOTTOM_TO_TOP = u"from bottom to top"
|
||||||
|
|
Loading…
Reference in New Issue