mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 13:07:09 +01:00
Fix Tuple with tuple in sources property
This commit is contained in:
parent
5d94eb3e13
commit
3cc2a5e2c6
1 changed files with 2 additions and 2 deletions
|
|
@ -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.'
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue