From 971e4e35719b497c4e4a204668577b5fbd37b67c Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 14 Apr 2018 22:06:57 +0300 Subject: [PATCH] flake8 --- pylast/__init__.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pylast/__init__.py b/pylast/__init__.py index 2bf9b1b..0586b42 100644 --- a/pylast/__init__.py +++ b/pylast/__init__.py @@ -1369,7 +1369,8 @@ class _Opus(_BaseObject, _Taggable): __hash__ = _BaseObject.__hash__ - def __init__(self, artist, title, network, ws_prefix, username=None, images=None): + def __init__(self, artist, title, network, ws_prefix, username=None, + images=None): """ Create an opus instance. # Parameters: @@ -1487,7 +1488,8 @@ class Album(_Opus): __hash__ = _Opus.__hash__ def __init__(self, artist, title, network, username=None, images=None): - super(Album, self).__init__(artist, title, network, "album", username, images) + super(Album, self).__init__(artist, title, network, "album", username, + images) def get_cover_image(self, size=SIZE_EXTRA_LARGE): """ @@ -1500,8 +1502,8 @@ class Album(_Opus): """ if not self.images: return _extract_all( - self._request( - self.ws_prefix + ".getInfo", cacheable=True), 'image')[size] + self._request(self.ws_prefix + ".getInfo", cacheable=True), + 'image')[size] else: return self.images[size]