mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
fixed flake8 issues
This commit is contained in:
parent
4933671c10
commit
5d90296a20
1 changed files with 6 additions and 2 deletions
|
|
@ -155,7 +155,11 @@ class SubsonicPlaylistPlugin(BeetsPlugin):
|
|||
params['s'] = b
|
||||
params['v'] = '1.12.0'
|
||||
params['c'] = 'beets'
|
||||
resp = requests.get('{}/rest/{}?{}'.format(self.config['base_url'].get(),endpoint,urlencode(params)))
|
||||
resp = requests.get('{}/rest/{}?{}'.format(
|
||||
self.config['base_url'].get(),
|
||||
endpoint,
|
||||
urlencode(params))
|
||||
)
|
||||
return resp
|
||||
|
||||
def get_playlists(self, ids):
|
||||
|
|
@ -166,4 +170,4 @@ class SubsonicPlaylistPlugin(BeetsPlugin):
|
|||
if track not in output:
|
||||
output[track] = ';'
|
||||
output[track] += name + ';'
|
||||
return output
|
||||
return output
|
||||
|
|
|
|||
Loading…
Reference in a new issue