From 4b2c4ced6ce1f8323a6403736154d447cb8d12ea Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Tue, 14 Jun 2016 01:55:47 -0400 Subject: [PATCH] wrap extra_ops.keys() in a list in ui/commands --- beets/ui/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/ui/commands.py b/beets/ui/commands.py index 75cae066c..d2270c662 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -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):