mirror of
https://github.com/nims11/IPod-Shuffle-4g.git
synced 2025-12-08 00:18:01 +09:00
better enum comparison
This commit is contained in:
parent
299813bbaa
commit
622f55f62c
1 changed files with 1 additions and 1 deletions
|
|
@ -474,7 +474,7 @@ class PlaylistHeader(Record):
|
||||||
playlist.populate(i)
|
playlist.populate(i)
|
||||||
construction = playlist.construct(tracks)
|
construction = playlist.construct(tracks)
|
||||||
if playlist["number_of_songs"] > 0:
|
if playlist["number_of_songs"] > 0:
|
||||||
if playlist["listtype"] == PlaylistType.PODCAST.value:
|
if PlaylistType(playlist["listtype"]) == PlaylistType.PODCAST:
|
||||||
podcastlistcount += 1
|
podcastlistcount += 1
|
||||||
playlistcount += 1
|
playlistcount += 1
|
||||||
chunks += [construction]
|
chunks += [construction]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue