create src module for source code

This commit is contained in:
PAN Lei
2022-07-04 22:16:51 +02:00
parent 49c97c7b96
commit a2488a83f5
40 changed files with 79 additions and 92 deletions
+5 -4
View File
@@ -1,9 +1,8 @@
import PySimpleGUI as sg
# First the window layout in 2 columns
from main import start_book, recheck_the_captcha_error_contacts
from pojo.ModeEnum import ModeEnum
from proxy.proxy_type import ProxyType
from src.pojo.ModeEnum import ModeEnum
from src.proxy.proxy_type import ProxyType
KEY_CHOOSE_STORE = "CHOOSE_STORE"
KEY_START_NUMBER = "KEY_START_NUMBER"
@@ -71,7 +70,9 @@ while True:
print(event)
print(values)
# try:
max_workers = int(values[KEY_MAX_WORKERS])
max_workers = 10
if values[KEY_MAX_WORKERS]:
max_workers = int(values[KEY_MAX_WORKERS])
store_type = 0
mode = ModeEnum.MANUAL
if values[KEY_FAUBOURG]: