From 811cfc929ee32cd57391f317e743f16fc216a81a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Thu, 26 Nov 2020 23:51:05 +0100 Subject: [PATCH] format --- src/resources/apiinteractionresource.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/resources/apiinteractionresource.py b/src/resources/apiinteractionresource.py index 9bb0e9d..dcf9ef0 100644 --- a/src/resources/apiinteractionresource.py +++ b/src/resources/apiinteractionresource.py @@ -30,8 +30,7 @@ class APIInteractionResource(UserStoreResource): spotify_uri += "artist:" imagedata = spot_data[0]['images'] elif mb_type == "release": - spot_data = self.spotify.search(q=querystring, type="artist", limit=1).get( - 'albums') + spot_data = self.spotify.search(q=querystring, type="artist", limit=1).get('albums') if not spot_data: return None, None, None spot_data = spot_data['items']