From be08d4b1291566a330c357771ec9ccd96d819af8 Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Sat, 2 Jul 2016 02:35:58 -0400 Subject: [PATCH] replace unichr with six.unichr in lyrics plugin --- beetsplug/lyrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/lyrics.py b/beetsplug/lyrics.py index fe833e6c1..4cc8cb441 100644 --- a/beetsplug/lyrics.py +++ b/beetsplug/lyrics.py @@ -84,7 +84,7 @@ def unescape(text): def replchar(m): num = m.group(1) - return unichr(int(num)) + return six.unichr(int(num)) out = re.sub(u"&#(\d+);", replchar, out) return out