mirror of
https://github.com/beetbox/beets.git
synced 2026-02-17 21:03:04 +01:00
Fix mypy incompatible return type in lastgenre
This commit is contained in:
parent
e68f1e6c31
commit
351332bca5
1 changed files with 3 additions and 1 deletions
|
|
@ -368,7 +368,9 @@ class LastGenrePlugin(plugins.BeetsPlugin):
|
|||
and the whitelist feature was disabled.
|
||||
"""
|
||||
|
||||
def _try_resolve_stage(stage_label: str, keep_genres, new_genres):
|
||||
def _try_resolve_stage(
|
||||
stage_label: str, keep_genres: list[str], new_genres: list[str]
|
||||
) -> 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue