From 622945e2a944d0b55d68d6be10e6dd6c6cec095d Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Tue, 14 Jun 2016 00:28:00 -0400 Subject: [PATCH] wrap importer match keys in list() since we need one --- beets/importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/importer.py b/beets/importer.py index b190329ce..a785b23a5 100644 --- a/beets/importer.py +++ b/beets/importer.py @@ -499,7 +499,7 @@ class ImportTask(BaseImportTask): if self.choice_flag in (action.ASIS, action.RETAG): return list(self.items) elif self.choice_flag == action.APPLY: - return self.match.mapping.keys() + return list(self.match.mapping.keys()) else: assert False