can run the exe file, probleme with pem resolved
This commit is contained in:
+11
-11
@@ -44,17 +44,17 @@ while True:
|
||||
print(values)
|
||||
if event == "submit":
|
||||
# try:
|
||||
start_line = int(values[KEY_START_NUMBER])
|
||||
end_line = int(values[KEY_END_NUMBER])
|
||||
max_workers = int(values[KEY_MAX_WORKERS])
|
||||
store_type = 0
|
||||
if values[KEY_FAUBOURG]:
|
||||
store_type = 1
|
||||
elif values[KEY_GEORGE]:
|
||||
store_type = 2
|
||||
elif values[KEY_SEVRES]:
|
||||
store_type = 3
|
||||
start_book(start_line, end_line, store_choose_state=store_type, max_workers=max_workers)
|
||||
start_line = int(values[KEY_START_NUMBER])
|
||||
end_line = int(values[KEY_END_NUMBER])
|
||||
max_workers = int(values[KEY_MAX_WORKERS])
|
||||
store_type = 0
|
||||
if values[KEY_FAUBOURG]:
|
||||
store_type = 1
|
||||
elif values[KEY_GEORGE]:
|
||||
store_type = 2
|
||||
elif values[KEY_SEVRES]:
|
||||
store_type = 3
|
||||
start_book(start_line, end_line, store_choose_state=store_type, max_workers=max_workers)
|
||||
# except Exception as error:
|
||||
# print("Not Integer: ")
|
||||
# print(error)
|
||||
|
||||
+5
-4
@@ -27,11 +27,11 @@ exe = EXE(
|
||||
[],
|
||||
exclude_binaries=True,
|
||||
name='appointment',
|
||||
debug=False,
|
||||
debug=True,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
console=False,
|
||||
upx=False,
|
||||
console=True,
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
target_arch=None,
|
||||
@@ -51,4 +51,5 @@ coll = COLLECT(
|
||||
import shutil
|
||||
shutil.copyfile('C:\\Users\\landd\\IdeaProjects\\appointment_tool\\appointment.json', '{0}/appointment.json'.format(DISTPATH))
|
||||
shutil.copyfile('C:\\Users\\landd\\IdeaProjects\\appointment_tool\\contact_all.xlsx', '{0}/contact_all.xlsx'.format(DISTPATH))
|
||||
shutil.copyfile('C:\\Users\\landd\\IdeaProjects\\appointment_tool\\config.ini', '{0}/config.ini'.format(DISTPATH))
|
||||
shutil.copyfile('.\config.ini', '{0}/config.ini'.format(DISTPATH))
|
||||
shutil.copytree('./venv\Lib/site-packages/grpc/_cython/_credentials', '{0}/appointment/grpc/_cython/_credentials'.format(DISTPATH))
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
dataclasses_json==0.5.6
|
||||
dataclasses_json==0.5.7
|
||||
firebase_admin==5.2.0
|
||||
pandas==1.4.1
|
||||
pandas~=1.3.5
|
||||
playwright==1.21.0
|
||||
dataclasses~=0.6
|
||||
oci~=2.54.1
|
||||
|
||||
@@ -231,7 +231,6 @@ class CommandorPage:
|
||||
self.logger.error(error)
|
||||
|
||||
def clickOnValidBtn(self):
|
||||
# self.page.mouse.wheel(0, random.randint(400, 500))
|
||||
time.sleep(get_random_wait_time())
|
||||
try:
|
||||
self.page.evaluate("""document.getElementsByClassName("btn")[0].focus();""")
|
||||
|
||||
Reference in New Issue
Block a user