Permalink
Browse files

Remove some extra characters from album names when comparing

  • Loading branch information...
1 parent cbe4785 commit 63d8e7355d4cbcfeb55cd257143811df07db6d75 @palfrey committed Jan 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 missing_albums.py
View
2 missing_albums.py
@@ -296,7 +296,7 @@ def getAlbums(artist):
def compact(inp):
inp = inp.lower()
- return inp.replace("'","")
+ return inp.replace("'","").replace(","," ").replace("&"," ").replace(":", " ").replace(".", " ")
missing = {}

0 comments on commit 63d8e73

Please sign in to comment.