Skip to content

Commit 6f167f8

Browse files
committed
Re-add comment
1 parent d758bbd commit 6f167f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

music_assistant/controllers/media/playlists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async def create_playlist(
9797

9898
async def add_playlist_tracks(self, db_playlist_id: str | int, uris: list[str]) -> None: # noqa: PLR0915
9999
"""Add tracks to playlist."""
100-
db_id = int(db_playlist_id)
100+
db_id = int(db_playlist_id) # ensure integer
101101
playlist = await self.get_library_item(db_id)
102102
if not playlist:
103103
raise MediaNotFoundError(f"Playlist with id {db_id} not found")

0 commit comments

Comments
 (0)