From 30927a901ffeaa279512e2565683314925e62c90 Mon Sep 17 00:00:00 2001 From: Diego Moreda Date: Fri, 29 Jan 2016 19:54:23 +0100 Subject: [PATCH] Fix flake8 error --- beetsplug/edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/edit.py b/beetsplug/edit.py index a3905e5dd..77984b77b 100644 --- a/beetsplug/edit.py +++ b/beetsplug/edit.py @@ -399,7 +399,7 @@ class EditPlugin(plugins.BeetsPlugin): # Prompt the user for a candidate, and simulate matching. sel = ui.input_options([], numrange=(1, len(task.candidates))) # Force applying the candidate on the items. - task.match = task.candidates[sel-1] + task.match = task.candidates[sel - 1] task.apply_metadata() return self.importer_edit(session, task)