From 8a21bacd1455d06d571fd1251cd4a0513067b0e8 Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 19 Sep 2025 21:00:37 -0700 Subject: [PATCH] Add type check --- beetsplug/discogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/discogs.py b/beetsplug/discogs.py index 0ffbb0e3e..f22ea2274 100644 --- a/beetsplug/discogs.py +++ b/beetsplug/discogs.py @@ -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."""