Clean up of Impexium import of specific page.
This commit is contained in:
@@ -200,7 +200,7 @@ def common_route_params_min(
|
|||||||
# exclude: Optional[list] = [], # Leaving this and include commented out
|
# exclude: Optional[list] = [], # Leaving this and include commented out
|
||||||
# include: Optional[list] = [], # Leaving this and exclude commented out
|
# include: Optional[list] = [], # Leaving this and exclude commented out
|
||||||
response: Response = Response,
|
response: Response = Response,
|
||||||
log_lvl: int = logging.DEBUG, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log_lvl: int = logging.WARNING, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
) -> Common_Route_Params:
|
) -> Common_Route_Params:
|
||||||
log.setLevel(log_lvl)
|
log.setLevel(log_lvl)
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
@@ -373,7 +373,7 @@ def return_full_tmp_path(
|
|||||||
subdir_path: str = None,
|
subdir_path: str = None,
|
||||||
filename: str = None,
|
filename: str = None,
|
||||||
) -> bool|str:
|
) -> bool|str:
|
||||||
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||||
log.debug(locals())
|
log.debug(locals())
|
||||||
|
|
||||||
hosted_tmp_path = settings.FILES_PATH['hosted_tmp_root']
|
hosted_tmp_path = settings.FILES_PATH['hosted_tmp_root']
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ def get_event_registrants(
|
|||||||
else: # Get all of the pages
|
else: # Get all of the pages
|
||||||
page = 1
|
page = 1
|
||||||
page_num = 0 # Will actually be the first page
|
page_num = 0 # Will actually be the first page
|
||||||
max_page = 25
|
max_page = 45 # This may need to be increased again... was 15 then 25
|
||||||
impexium_event_registration_list = []
|
impexium_event_registration_list = []
|
||||||
while try_page and page_num <= max_page:
|
while try_page and page_num <= max_page:
|
||||||
page_num = page_num + 1
|
page_num = page_num + 1
|
||||||
|
|||||||
Reference in New Issue
Block a user