Skip to content

Commit

Permalink
Comment out calling main()
Browse files Browse the repository at this point in the history
  • Loading branch information
PhongT16 committed Nov 6, 2023
1 parent f24021e commit 80063f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions OutlookCalendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])

Expand All @@ -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')
Expand All @@ -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)
#main(configs)

0 comments on commit 80063f5

Please sign in to comment.