From 2aaddbd81b31119966a3f19cb40e771b9efcefcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Neto?= Date: Thu, 9 Jul 2015 16:56:09 -0300 Subject: [PATCH] pep8 compliance --- pylast/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pylast/__init__.py b/pylast/__init__.py index 4313496..f593667 100644 --- a/pylast/__init__.py +++ b/pylast/__init__.py @@ -1930,7 +1930,7 @@ class Artist(_BaseObject, _Taggable): def get_correction(self): """Returns the corrected artist name.""" - + return _extract( self._request(self.ws_prefix + ".getCorrection"), "name") @@ -2952,12 +2952,12 @@ class Track(_Opus): def __init__(self, artist, title, network, username=None): super(Track, self).__init__(artist, title, network, "track", username) - + def get_correction(self): """Returns the corrected track name.""" - + return _extract( - self._request(self.ws_prefix + ".getCorrection"), "name") + self._request(self.ws_prefix + ".getCorrection"), "name") def get_duration(self): """Returns the track duration."""