Add type check

This commit is contained in:
Henry 2025-09-19 21:00:37 -07:00
parent dda265dc77
commit 8a21bacd14

View file

@ -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."""