daily script re formatted to do more

This commit is contained in:
Jun-te Kim 2025-03-14 09:51:08 +00:00
parent de7cafec29
commit df9d5fd49a

View file

@ -20,15 +20,30 @@ def main():
jjc_scraper = SharePointScraper(SharePointInstaller.JJC)
jjc_names = jjc_scraper.list_of_names_that_has_the_wrong_date_format()
SGEC = SharePointScraper(SharePointInstaller.SGEC)
sgec_names = SGEC.list_of_names_that_has_the_wrong_date_format()
BAXTER_KELLY = SharePointScraper(SharePointInstaller.BAXTER_KELLY)
b_names = BAXTER_KELLY.list_of_names_that_has_the_wrong_date_format()
logger.info("Good morning Cyrus")
if south_coast_names:
logger.info("South Coast with wrong date format:")
logger.info(pformat(south_coast_names))
if jjc_names:
logger.info("JJC with wrong date format")
logger.info(pformat(jjc_names))
if sgec_names:
logger.info("SGEC with wrong date format")
logger.info(pformat(sgec_names))
if b_names:
logger.info("Baxter Kelly with wrong date format")
logger.info(pformat(b_names))
# Make a quick script that checks if the Pictures folder exists in a certain fail directory