mirror of
https://github.com/beetbox/beets.git
synced 2026-02-11 09:54:31 +01:00
Add type check
This commit is contained in:
parent
dda265dc77
commit
8a21bacd14
1 changed files with 1 additions and 1 deletions
|
|
@ -630,7 +630,7 @@ class DiscogsPlugin(MetadataSourcePlugin):
|
|||
|
||||
return tracklist
|
||||
|
||||
def strip_disambiguation(self, text) -> str:
|
||||
def strip_disambiguation(self, text: str) -> str:
|
||||
"""Removes discogs specific disambiguations from a string.
|
||||
Turns 'Label Name (5)' to 'Label Name' or 'Artist (1) & Another Artist (2)'
|
||||
to 'Artist & Another Artist'. Does nothing if strip_disambiguation is False."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue