Fix mypy incompatible return type in lastgenre

This commit is contained in:
dunkla 2026-01-11 14:09:17 +01:00 committed by Šarūnas Nejus
parent d25c6204eb
commit 0c2af3215c
No known key found for this signature in database

View file

@ -375,7 +375,7 @@ class LastGenrePlugin(plugins.BeetsPlugin):
def _try_resolve_stage(
stage_label: str, keep_genres: list[str], new_genres: list[str]
) -> tuple[str, str] | None:
) -> tuple[list[str], str] | None:
"""Try to resolve genres for a given stage and log the result."""
resolved_genres = self._combine_resolve_and_log(
keep_genres, new_genres