This commit is contained in:
EnvyPC 2024-04-06 17:42:37 +09:00
parent 0c8c3f6e2b
commit 09ae0f362b
1 changed files with 12 additions and 1 deletions

13
main.py
View File

@ -5,6 +5,7 @@ from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service #웨일
# from webdriver_manager.chrome import ChromeDriverManager #웨일
import time
import datetime
import ctypes
import atexit
import platform, os, sys
@ -101,7 +102,17 @@ def DB_setting():
"per_em_password": login_widget.per_em_password,
"per_mode": login_widget.per_mode,
"set_num_modify": login_widget.set_num_modify,
"login_result": login_widget.result # 로그인 결과도 함께 반환
"alwaysOnTopSwitch": login_widget.alwaysOnTopSwitch,
"whether_shutdownAfterComplete" : login_widget.whether_shutdownAfterComplete,
"whether_modifyProductName": login_widget.whether_modifyProductName,
"whether_modifyProductOptions": login_widget.whether_modifyProductOptions,
"whether_modifyProductTag": login_widget.whether_modifyProductTag,
"whether_modifyProductPrice": login_widget.whether_modifyProductPrice,
"whether_modifyProductThumb": login_widget.whether_modifyProductThumb,
"whether_modifyProductDetail": login_widget.whether_modifyProductDetail,
"whether_modifyImageTanslation": login_widget.whether_modifyImageTanslation,
"whether_uploadToMarket": login_widget.whether_uploadToMarket,
"login_result": login_widget.result,
}
return login_info, result, mongo_config