mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 09:33:46 +01:00
fix flake8
This commit is contained in:
parent
c12dd5163d
commit
39584a8b69
1 changed files with 2 additions and 3 deletions
|
|
@ -244,9 +244,8 @@ def fetch_lyricscom(artist, title):
|
|||
html = fetch_url(url)
|
||||
if not html:
|
||||
return
|
||||
lyrics = extract_text_between(html,
|
||||
'<div id="lyrics" class="SCREENONLY" itemprop="description">',
|
||||
'</div>')
|
||||
lyrics = extract_text_between(html, '<div id="lyrics" class="SCREENONLY" '
|
||||
'itemprop="description">', '</div>')
|
||||
if not lyrics:
|
||||
return
|
||||
for not_found_str in LYRICSCOM_NOT_FOUND:
|
||||
|
|
|
|||
Loading…
Reference in a new issue