Remove space.

This commit is contained in:
Matthew Stratford 2022-10-17 18:57:04 +01:00 committed by GitHub
parent 1bd5779b8a
commit 92dbd19bf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -337,7 +337,7 @@ class MyRadioAPI:
async def get_playlist_aux_items(self, library_id: str):
# Sometimes they have "aux-<ID>", we only need the index.
if library_id.index("-") > -1:
library_id = library_id[library_id.index("-") + 1 :]
library_id = library_id[library_id.index("-") + 1:]
url = "/nipswebPlaylist/{}/items".format(library_id)
request = await self.async_api_call(url)