From 6e6a0ad9a9da379732b192f93f4fc2aec4437ec5 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Tue, 21 Jan 2025 12:42:24 +0100 Subject: [PATCH] Return empty tuple instead of disabling type issue --- beetsplug/lastgenre/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/beetsplug/lastgenre/__init__.py b/beetsplug/lastgenre/__init__.py index d8abd22a1..3336946d6 100644 --- a/beetsplug/lastgenre/__init__.py +++ b/beetsplug/lastgenre/__init__.py @@ -160,6 +160,7 @@ class LastGenrePlugin(plugins.BeetsPlugin): return "album", "artist" if source == "artist": return ("artist",) + return tuple() # More canonicalization and general helpers.