.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user