Added some comments.
This commit is contained in:
parent
83deb903c1
commit
563aab6204
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ class Track:
|
|||
new_occurrences = {}
|
||||
|
||||
for item in self.items:
|
||||
# create dict of item: item.index (actually the id of the item bc. the item can't be used as key)
|
||||
playlist_occurrences = new_occurrences.get(item.playlist, {})
|
||||
playlist_occurrences[id(item)] = item.index
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue