From 72f05057443c06ac3c72fd69c5f76d748ec801d7 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Fri, 24 May 2013 12:31:18 -0700 Subject: [PATCH] discogs: extra space in ambiguous artists (#289) --- beetsplug/discogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/discogs.py b/beetsplug/discogs.py index 759b51364..10922eba3 100644 --- a/beetsplug/discogs.py +++ b/beetsplug/discogs.py @@ -116,7 +116,7 @@ class DiscogsPlugin(BeetsPlugin): if artist['join']: bits.append(artist['join']) # Remove discogs artist disambiguation number if needed. - bits = [re.sub(r'\(\d+\)$', '', bit) for bit in bits] + bits = [re.sub(r' \(\d+\)$', '', bit) for bit in bits] artist = ' '.join(bits).replace(' ,', ',') or None return artist, artist_id