mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 10:05:13 +01:00
replace unichr with six.unichr in lyrics plugin
This commit is contained in:
parent
ea3d4978c7
commit
be08d4b129
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue