mirror of
https://github.com/beetbox/beets.git
synced 2026-05-20 23:44:07 -04:00
Fix bug in discogs.album_for_id for ID-Strings that end in a bracket
This commit is contained in:
@@ -72,7 +72,7 @@ class DiscogsPlugin(BeetsPlugin):
|
||||
match = re.search(r'(\d+)\]*$', album_id)
|
||||
if not match:
|
||||
return None
|
||||
result = Release(match.group())
|
||||
result = Release(match.group(1))
|
||||
# Try to obtain title to verify that we indeed have a valid Release
|
||||
try:
|
||||
getattr(result, 'title')
|
||||
|
||||
Reference in New Issue
Block a user