Update app.py

master
Chris Nutter 2025-01-10 12:03:11 -08:00
parent 66a53ecfdf
commit fc3ac0bf68
1 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -96,7 +96,7 @@ if __name__ == "__main__":
logger.add("output_{time}.log", format="{name} {message}", level="DEBUG", rotation="5 MB", backtrace=True, colorize=True, diagnose=True)
if len(sys.argv) != 7:
logger.exception{"Usage: python3 app.py <caldav_url> <calendar_name> <username> <password> <ra_api_key> [OPTIONAL] <ra_username>"}
logger.exception("Usage: python3 app.py <caldav_url> <calendar_name> <username> <password> <ra_api_key> [OPTIONAL] <ra_username>")
sys.exit(1)
CALDAV_URL = sys.argv[1]