mirror of
https://github.com/beetbox/beets.git
synced 2026-02-08 08:25:23 +01:00
Fix crash in task.imported_items (#6326)
Fixes #6291 I think it does not hurt if the imported_items() method returned an empty list instead of an throwing an exception if there is nothing in it!
This commit is contained in:
commit
b2335b984d
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ class ImportTask(BaseImportTask):
|
|||
):
|
||||
return self.match.items
|
||||
else:
|
||||
assert False
|
||||
return []
|
||||
|
||||
def apply_metadata(self):
|
||||
"""Copy metadata from match info to the items."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue