mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 13:33:02 +01:00
Comply with PEP8.
This commit is contained in:
parent
125f6422d7
commit
3bd3a817de
1 changed files with 3 additions and 0 deletions
|
|
@ -34,12 +34,15 @@ reimported_item_ids = None
|
|||
# album.path for old albums that were replaced by a new reimported album
|
||||
replaced_album_paths = None
|
||||
|
||||
|
||||
def reimported_item(item):
|
||||
return item.id in reimported_item_ids
|
||||
|
||||
|
||||
def reimported_album(album):
|
||||
return album.path in replaced_album_paths
|
||||
|
||||
|
||||
@ImportAddedPlugin.listen('import_task_files')
|
||||
def record_reimported(task, session):
|
||||
global reimported_item_ids, replaced_album_paths
|
||||
|
|
|
|||
Loading…
Reference in a new issue