Skip to content

Commit 6adab6b

Browse files
JOJ0Copilot
andcommitted
lastgenre: Fix item_genre instead of item.genre
Co-authored-by: Copilot <[email protected]>
1 parent 7054c99 commit 6adab6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beetsplug/lastgenre/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ def lastgenre_func(lib, opts, args):
591591
item_genre = album.genre
592592
label = "inherit from album"
593593

594-
if item.genre:
594+
if item_genre:
595595
self._apply_item_genre(item, label, item_genre)
596596
if write:
597597
item.try_write()

0 commit comments

Comments
 (0)