diff --git a/etl/daily_script.py b/etl/daily_script.py index 98fd443..4365e4a 100644 --- a/etl/daily_script.py +++ b/etl/daily_script.py @@ -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