From 3cc2a5e2c6d3b4dc56fceab2932bb8155db36ef8 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Tue, 21 Jan 2025 12:29:40 +0100 Subject: [PATCH] Fix Tuple with tuple in sources property --- beetsplug/lastgenre/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beetsplug/lastgenre/__init__.py b/beetsplug/lastgenre/__init__.py index d143ad4a5..076fad11b 100644 --- a/beetsplug/lastgenre/__init__.py +++ b/beetsplug/lastgenre/__init__.py @@ -25,7 +25,7 @@ https://gist.github.com/1241307 import codecs import os import traceback -from typing import Tuple, Union +from typing import Union import pylast import yaml @@ -149,7 +149,7 @@ class LastGenrePlugin(plugins.BeetsPlugin): flatten_tree(genres_tree, [], self.c14n_branches) @property - def sources(self) -> Tuple[str, ...]: # type: ignore + def sources(self) -> tuple[str, ...]: """A tuple of allowed genre sources. May contain 'track', 'album', or 'artist.' """