From 80063f543ae7fd2c5e21134363abf16c248a0c54 Mon Sep 17 00:00:00 2001 From: Phong Date: Mon, 6 Nov 2023 13:55:28 -0600 Subject: [PATCH] Comment out calling main() --- OutlookCalendar.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OutlookCalendar.py b/OutlookCalendar.py index 7a995ce..9a8e538 100644 --- a/OutlookCalendar.py +++ b/OutlookCalendar.py @@ -90,7 +90,7 @@ def main(configs): # Retrieve the group member emails group_members = utils.get_email_list(configs['group_name'], configs['email_list_update_interval']) - + # Get access token access_token = utils.acquire_access_token(app, configs['scopes']) @@ -116,6 +116,7 @@ def main(configs): time.sleep(configs['update_interval']) if __name__ == '__main__': + configs = utils.get_configurations() formater = logging.Formatter('%(name)s:%(asctime)s:%(filename)s:%(levelname)s:%(message)s') @@ -135,4 +136,4 @@ def main(configs): stream_handler.setFormatter(fmt=logging.Formatter('%(name)s:%(asctime)s:%(filename)s:%(levelname)s:%(message)s')) logger.addHandler(stream_handler) - main(configs) \ No newline at end of file + #main(configs) \ No newline at end of file