warn -> warning

This commit is contained in:
Jörn-Michael Miehe 2022-09-07 00:17:55 +00:00
parent 9349f5b756
commit c71049e930
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ class Config(BaseModel):
) )
except RemoteResourceNotFound: except RemoteResourceNotFound:
_logger.warn( _logger.warning(
f"Config file {SETTINGS.config_path!r} not found, creating ..." f"Config file {SETTINGS.config_path!r} not found, creating ..."
) )

View file

@ -148,7 +148,7 @@ async def _get_calendar_events(
) )
except ReportError: except ReportError:
_logger.warn("CalDAV server does not support expanded search") _logger.warning("CalDAV server does not support expanded search")
search_result = calendar.date_search( search_result = calendar.date_search(
start=dt_start, start=dt_start,