Display ascii art and username on startup
This commit is contained in:
12
main.py
12
main.py
@@ -18,6 +18,14 @@ def main():
|
||||
"""
|
||||
Main function to initialize the Booker and start the booking process.
|
||||
"""
|
||||
# Display ASCII art and username
|
||||
with open('ascii.md', 'r') as f:
|
||||
ascii_art = f.read()
|
||||
print(ascii_art)
|
||||
username = os.environ.get("CROSSFIT_USERNAME")
|
||||
print(f"Username: {username}")
|
||||
print()
|
||||
|
||||
# Set up logging
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
@@ -29,8 +37,8 @@ def main():
|
||||
|
||||
# Initialize components
|
||||
auth_handler = AuthHandler(
|
||||
os.environ.get("CROSSFIT_USERNAME"),
|
||||
os.environ.get("CROSSFIT_PASSWORD")
|
||||
str(os.environ.get("CROSSFIT_USERNAME")),
|
||||
str(os.environ.get("CROSSFIT_PASSWORD"))
|
||||
)
|
||||
|
||||
# Initialize notification system
|
||||
|
||||
Reference in New Issue
Block a user