mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 09:33:46 +01:00
Fix bug in discogs.album_for_id for ID-Strings that end in a bracket
This commit is contained in:
parent
40a6e03ba6
commit
2d4ea4e49b
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue