This commit is contained in:
2025-01-16 09:37:50 -05:00
parent 00be1b8eb1
commit 949b6e4bc3
4 changed files with 10 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ class Cache:
traceback.print_exc()
# pylint: disable=unused-argument
async def search(self, artist: str, song: str, **kwargs) -> Optional[LyricsResult]:
"""
search
@@ -112,6 +112,7 @@ class Cache:
- LyricsResult corresponding to nearest match found (if found), **None** otherwise
"""
try:
# pylint: enable=unused-argument
artist: str = artist.strip().lower()
song: str = song.strip().lower()
search_params: Optional[tuple] = None