mirror of
https://github.com/beetbox/beets.git
synced 2026-01-30 20:13:37 +01:00
add missing b' in discogs query regex
This commit is contained in:
parent
78139e60e8
commit
5485bdb706
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ class DiscogsPlugin(BeetsPlugin):
|
|||
query = re.sub(r'(?u)\W+', ' ', query).encode('ascii', "replace")
|
||||
# Strip medium information from query, Things like "CD1" and "disk 1"
|
||||
# can also negate an otherwise positive result.
|
||||
query = re.sub(r'(?i)\b(CD|disc)\s*\d+', '', query)
|
||||
query = re.sub(br'(?i)\b(CD|disc)\s*\d+', '', query)
|
||||
try:
|
||||
releases = self.discogs_client.search(query,
|
||||
type='release').page(1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue