Clean up of Impexium import of specific page.

This commit is contained in:
Scott Idem
2023-03-15 17:51:33 -04:00
parent b9be0a70af
commit 2fa27cafbb
2 changed files with 3 additions and 3 deletions

View File

@@ -200,7 +200,7 @@ def common_route_params_min(
# exclude: Optional[list] = [], # Leaving this and include commented out
# include: Optional[list] = [], # Leaving this and exclude commented out
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:
log.setLevel(log_lvl)
log.debug(locals())
@@ -373,7 +373,7 @@ def return_full_tmp_path(
subdir_path: str = None,
filename: str = None,
) -> 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())
hosted_tmp_path = settings.FILES_PATH['hosted_tmp_root']

View File

@@ -233,7 +233,7 @@ def get_event_registrants(
else: # Get all of the pages
page = 1
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 = []
while try_page and page_num <= max_page:
page_num = page_num + 1