Fix syntax error: add missing newline after return statement
This commit is contained in:
1 parent
cdb6e53fb6
commit
5066b0b5e9
1 file changed
+3
-1
@@ -112,7 +112,9 @@ def scrape_recently_played():
|
|||||||
all_songs.append(song)
|
all_songs.append(song)
|
||||||
seen.add(key)
|
seen.add(key)
|
||||||
|
|
||||||
return all_songsdef normalize_string(s):
|
return all_songs
|
||||||
|
|
||||||
|
def normalize_string(s):
|
||||||
"""Normalize string for comparison"""
|
"""Normalize string for comparison"""
|
||||||
return re.sub(r'[^\\w\\s]', '', s).lower().strip()
|
return re.sub(r'[^\\w\\s]', '', s).lower().strip()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user