reorder var definitions after try for consistency
This commit is contained in:
@@ -33,11 +33,11 @@ class LRCLib:
|
||||
@artist: the artist to search
|
||||
@song: the song to search
|
||||
"""
|
||||
try:
|
||||
logging.info("Searching %s - %s on %s",
|
||||
artist, song, self.label)
|
||||
try:
|
||||
artist = artist.strip().lower()
|
||||
song = song.strip().lower()
|
||||
logging.info("Searching %s - %s on %s",
|
||||
artist, song, self.label)
|
||||
returned_lyrics = ''
|
||||
async with ClientSession() as client:
|
||||
async with client.get(self.lrclib_url,
|
||||
|
||||
Reference in New Issue
Block a user