Update app.py

master
Chris Nutter 2025-01-10 11:29:05 -08:00
parent 631f27e4ed
commit ae5581c509
1 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -93,7 +93,7 @@ END:VCALENDAR
# Usage example
if __name__ == "__main__":
logger.add("output.log", backtrace=True, colorize=True, diagnose=True)
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>"}