Update app.py
parent
631f27e4ed
commit
ae5581c509
2
app.py
2
app.py
|
@ -93,7 +93,7 @@ END:VCALENDAR
|
||||||
|
|
||||||
# Usage example
|
# Usage example
|
||||||
if __name__ == "__main__":
|
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:
|
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>"}
|
||||||
|
|
Loading…
Reference in New Issue