mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-20 18:45:32 +01:00
pep8
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -793,4 +793,3 @@ def getArtistForReleaseGroup(rgid):
|
||||
return False
|
||||
else:
|
||||
return releaseGroup['artist-credit'][0]['artist']['name']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user