We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74023f5 commit 821335fCopy full SHA for 821335f
2 files changed
tests/test_page.py
@@ -169,7 +169,7 @@ def test_genres(session):
169
def test_moods(session):
170
moods = session.moods()
171
first = next(iter(moods))
172
- assert first.title == "Holidays"
+ assert first.title == "Holidays" or first.title == "For DJs"
173
assert isinstance(next(iter(first.get())), tidalapi.Playlist)
174
175
tidalapi/user.py
@@ -51,6 +51,8 @@
51
def list_validate(lst):
52
if isinstance(lst, str):
53
lst = [lst]
54
+ if isinstance(lst, int):
55
+ lst = [str(lst)]
56
if len(lst) == 0:
57
raise ValueError("An empty list was provided.")
58
return lst
0 commit comments