can run exe file
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user