mirror of
https://github.com/beetbox/beets.git
synced 2026-11-30 21:51:17 -06:00
replace unichr with six.unichr in lyrics plugin
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user