chore: Add a TODO for later authentication during run

This commit is contained in:
kbe
2025-07-21 14:55:54 +02:00
parent 16d66b74ea
commit 18cf2a0a18

View File

@@ -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())