correction on the check_results
This commit is contained in:
@@ -2,7 +2,7 @@ import logging
|
||||
import sys
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
|
||||
from src import params
|
||||
from src import params, definitions
|
||||
from src.logs.AppLogging import init_logger
|
||||
from src.pojo.ModeEnum import ModeEnum
|
||||
from src.pojo.contact_pojo import ContactPojo
|
||||
@@ -40,7 +40,7 @@ def start_book(start_number, end_number, store_choose_state=0, max_workers=10, p
|
||||
def recheck_the_captcha_error_contacts(on_no_contact_found, store_type=0, mode: ModeEnum = ModeEnum.MANUAL,
|
||||
max_workers=10):
|
||||
# get all the contacts in captcha error
|
||||
contact_list = params.mongo_store_manager.get_captcha_error_contacts_for_current_day()
|
||||
contact_list = definitions.mongo_store_manager.get_captcha_error_contacts_for_current_day()
|
||||
if len(contact_list) == 0:
|
||||
on_no_contact_found()
|
||||
with ThreadPoolExecutor(max_workers=max_workers) as executor:
|
||||
|
||||
Reference in New Issue
Block a user