From 18cf2a0a18c8352ff355a6279cc2c27b5d7a3400 Mon Sep 17 00:00:00 2001 From: kbe Date: Mon, 21 Jul 2025 14:55:54 +0200 Subject: [PATCH] chore: Add a TODO for later authentication during run --- book_crossfit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/book_crossfit.py b/book_crossfit.py index fabd0e7..604dc9c 100755 --- a/book_crossfit.py +++ b/book_crossfit.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 + import logging import traceback from crossfit_booker import CrossFitBooker @@ -22,6 +23,7 @@ if __name__ == "__main__": booker = CrossFitBooker() # Attempt to log in to the CrossFit booking system + # TODO: Make a authentication during running request to not get kicked out if not booker.login(): # If login fails, log the error and exit the script logging.error("Failed to login - Traceback: %s", traceback.format_exc())