mirror of
https://github.com/beetbox/beets.git
synced 2026-01-30 12:02:41 +01:00
flake8ness
This commit is contained in:
parent
df47f19e86
commit
eb2dbdc314
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue