From 81b74151ca42effa111fa61a80ed12d53c0df2db Mon Sep 17 00:00:00 2001 From: Bruno Tournay Date: Wed, 19 Mar 2014 22:16:02 +0100 Subject: [PATCH] Genre separator from config must be unicode string --- beetsplug/lastgenre/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/lastgenre/__init__.py b/beetsplug/lastgenre/__init__.py index 4f78f20c9..c398bf7e3 100644 --- a/beetsplug/lastgenre/__init__.py +++ b/beetsplug/lastgenre/__init__.py @@ -114,7 +114,7 @@ def _strings_to_genre(tags): tags = out tags = [t.title() for t in tags] - return config['lastgenre']['separator'].get().join( + return config['lastgenre']['separator'].get(unicode).join( tags[:config['lastgenre']['count'].get(int)] )