From e8e82c3c496d824151a9946c3ecf54c2701a744d Mon Sep 17 00:00:00 2001 From: felipeumanzor Date: Sat, 16 Apr 2016 20:20:35 -0300 Subject: [PATCH] Duplicated album detection improved not case sensitive. --- examples/artist_discography.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/artist_discography.py b/examples/artist_discography.py index 8d30d15..34114bb 100644 --- a/examples/artist_discography.py +++ b/examples/artist_discography.py @@ -34,7 +34,7 @@ def show_artist_albums(id): print('Total albums:', len(albums)) unique = set() # skip duplicate albums for album in albums: - name = album['name'] + name = album['name'].lower() if not name in unique: print(name) unique.add(name)