Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
Remove some extra characters from album names when comparing
Browse files Browse the repository at this point in the history
  • Loading branch information
palfrey committed Jan 1, 2012
1 parent cbe4785 commit 63d8e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion missing_albums.py
Expand Up @@ -296,7 +296,7 @@ def getAlbums(artist):

def compact(inp):
inp = inp.lower()
return inp.replace("'","")
return inp.replace("'","").replace(","," ").replace("&"," ").replace(":", " ").replace(".", " ")

missing = {}

Expand Down

0 comments on commit 63d8e73

Please sign in to comment.