Skip to content

Commit

Permalink
Recursion max depth fix in create playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
linsomniac committed Jan 19, 2024
1 parent acdb6fd commit 92b2bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spotify2ytmusic/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _create(yt: YTMusic, title: str, description: str) -> Union[str, dict]:
for _ in range(10):
try:
"""Create a playlist on YTMusic, retrying if it fails."""
id = _ytmusic_create_playlist(yt, title=title, description=description)
id = yt.create_playlist(title=title, description=description)
return id
except Exception as e:
print(
Expand Down

0 comments on commit 92b2bdf

Please sign in to comment.