From 92dbd19bf7a6c4fff87573e115fb718a41e6cf10 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Mon, 17 Oct 2022 18:57:04 +0100 Subject: [PATCH] Remove space. --- helpers/myradio_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)