mirror of
https://github.com/beetbox/beets.git
synced 2026-01-07 00:15:20 +01:00
wrap extra_ops.keys() in a list in ui/commands
This commit is contained in:
parent
ebff5a599c
commit
4b2c4ced6c
1 changed files with 1 additions and 1 deletions
|
|
@ -754,7 +754,7 @@ class TerminalImportSession(importer.ImportSession):
|
|||
_, _, candidates, rec = autotag.tag_album(
|
||||
task.items, search_ids=search_id.split()
|
||||
)
|
||||
elif choice in extra_ops.keys():
|
||||
elif choice in list(extra_ops.keys()):
|
||||
# Allow extra ops to automatically set the post-choice.
|
||||
post_choice = extra_ops[choice](self, task)
|
||||
if isinstance(post_choice, importer.action):
|
||||
|
|
|
|||
Loading…
Reference in a new issue