diff --git a/beetsplug/lastgenre/__init__.py b/beetsplug/lastgenre/__init__.py index 3981a4a3c..950d0c71b 100644 --- a/beetsplug/lastgenre/__init__.py +++ b/beetsplug/lastgenre/__init__.py @@ -202,7 +202,7 @@ class LastGenrePlugin(plugins.BeetsPlugin): """Remove duplicates from sequence wile preserving order""" seen = set() seen_add = seen.add - return [ x for x in seq if x not in seen and not seen_add(x)] + return [x for x in seq if x not in seen and not seen_add(x)] tags = remove_duplicates(tags)