This commit is contained in:
Ade
2017-04-20 20:42:04 +12:00
parent 61a3abbf20
commit 50851a4953
2 changed files with 1 additions and 1 deletions

View File

@@ -264,6 +264,7 @@ _XLATE_MUSICBRAINZ = {
u"": "-", # EN DASH (U+2013)
}
def _translate(s, dictionary):
# type: (basestring,Mapping[basestring,basestring])->basestring
return ''.join(dictionary.get(x, x) for x in s)

View File

@@ -793,4 +793,3 @@ def getArtistForReleaseGroup(rgid):
return False
else:
return releaseGroup['artist-credit'][0]['artist']['name']