mirror of
https://github.com/beetbox/beets.git
synced 2025-12-08 01:23:09 +01:00
_combine_and_label return None not empty str
This commit is contained in:
parent
6866fce364
commit
462a7a524a
1 changed files with 1 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ class LastGenrePlugin(plugins.BeetsPlugin):
|
||||||
return separator.join(combined_genres), f"keep + {log_label}"
|
return separator.join(combined_genres), f"keep + {log_label}"
|
||||||
elif new_genres:
|
elif new_genres:
|
||||||
return new_genres, log_label
|
return new_genres, log_label
|
||||||
return "", log_label
|
return None, log_label
|
||||||
|
|
||||||
def _get_genre(self, obj):
|
def _get_genre(self, obj):
|
||||||
"""Get the final genre string for an Album or Item object
|
"""Get the final genre string for an Album or Item object
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue