can run exe file

This commit is contained in:
2022-05-11 19:57:52 +02:00
parent aedea57fbd
commit d37aff124a
12 changed files with 94 additions and 85 deletions
+4 -4
View File
@@ -43,7 +43,7 @@ while True:
print(event)
print(values)
if event == "submit":
try:
# try:
start_line = int(values[KEY_START_NUMBER])
end_line = int(values[KEY_END_NUMBER])
max_workers = int(values[KEY_MAX_WORKERS])
@@ -55,9 +55,9 @@ while True:
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)
# except Exception as error:
# print("Not Integer: ")
# print(error)
elif event == "Exit" or event == sg.WIN_CLOSED:
break