Skip to content

Commit

Permalink
Removed redundant loop counter
Browse files Browse the repository at this point in the history
The count in parse_playlist_items is not referenced elsewhere in the function.
  • Loading branch information
nick42d authored and sigma67 committed Jul 21, 2023
1 parent aa567e3 commit b953631
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ytmusicapi/parsers/playlists.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@

def parse_playlist_items(results, menu_entries: List[List] = None):
songs = []
count = 1
for result in results:
count += 1
if MRLIR not in result:
continue
data = result[MRLIR]
Expand Down

0 comments on commit b953631

Please sign in to comment.