diff --git a/helpers/myradio_api.py b/helpers/myradio_api.py index f9d518f..ee997fa 100644 --- a/helpers/myradio_api.py +++ b/helpers/myradio_api.py @@ -337,7 +337,7 @@ class MyRadioAPI: async def get_playlist_aux_items(self, library_id: str): # Sometimes they have "aux-", 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)