pep8 compliance
This commit is contained in:
parent
5f18619333
commit
2aaddbd81b
|
@ -1930,7 +1930,7 @@ class Artist(_BaseObject, _Taggable):
|
||||||
|
|
||||||
def get_correction(self):
|
def get_correction(self):
|
||||||
"""Returns the corrected artist name."""
|
"""Returns the corrected artist name."""
|
||||||
|
|
||||||
return _extract(
|
return _extract(
|
||||||
self._request(self.ws_prefix + ".getCorrection"), "name")
|
self._request(self.ws_prefix + ".getCorrection"), "name")
|
||||||
|
|
||||||
|
@ -2952,12 +2952,12 @@ class Track(_Opus):
|
||||||
|
|
||||||
def __init__(self, artist, title, network, username=None):
|
def __init__(self, artist, title, network, username=None):
|
||||||
super(Track, self).__init__(artist, title, network, "track", username)
|
super(Track, self).__init__(artist, title, network, "track", username)
|
||||||
|
|
||||||
def get_correction(self):
|
def get_correction(self):
|
||||||
"""Returns the corrected track name."""
|
"""Returns the corrected track name."""
|
||||||
|
|
||||||
return _extract(
|
return _extract(
|
||||||
self._request(self.ws_prefix + ".getCorrection"), "name")
|
self._request(self.ws_prefix + ".getCorrection"), "name")
|
||||||
|
|
||||||
def get_duration(self):
|
def get_duration(self):
|
||||||
"""Returns the track duration."""
|
"""Returns the track duration."""
|
||||||
|
|
Loading…
Reference in a new issue