warn -> warning
This commit is contained in:
parent
9349f5b756
commit
c71049e930
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ class Config(BaseModel):
|
|||
)
|
||||
|
||||
except RemoteResourceNotFound:
|
||||
_logger.warn(
|
||||
_logger.warning(
|
||||
f"Config file {SETTINGS.config_path!r} not found, creating ..."
|
||||
)
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ async def _get_calendar_events(
|
|||
)
|
||||
|
||||
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(
|
||||
start=dt_start,
|
||||
|
|
Loading…
Reference in a new issue