fix(webdav): finish lazy-logging conversion in get_tag_by_name

The two debug calls in get_tag_by_name were left as f-strings when the
method was migrated to _make_request in round 1. Convert to lazy
%-style formatting per repo convention (PR #764 review round 5).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Chris Coutinho
2026-05-06 23:40:53 +02:00
co-authored by Claude Opus 4.7
parent 56f01b3499
commit 81c190c9c5
+2 -2
View File
@@ -1190,10 +1190,10 @@ class WebDAVClient(BaseNextcloudClient):
and user_assignable_elem.text is not None
else True,
}
logger.debug(f"Found tag '{tag_name}' with ID {tag_info['id']}")
logger.debug("Found tag %r with ID %s", tag_name, tag_info["id"])
return tag_info
logger.debug(f"Tag '{tag_name}' not found")
logger.debug("Tag %r not found", tag_name)
return None
async def get_files_by_tag(self, tag_id: int) -> list[dict[str, Any]]: