mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-08 20:39:08 +00:00
Fix failing of consecutive tests
This commit is contained in:
@@ -26,7 +26,7 @@ def test_tracks():
|
|||||||
playlist['owner']['id'], playlist['id'], fields='tracks,next')
|
playlist['owner']['id'], playlist['id'], fields='tracks,next')
|
||||||
tracks = result['tracks']
|
tracks = result['tracks']
|
||||||
|
|
||||||
with open('list.txt', 'a') as fout:
|
with open('list.txt', 'w') as fout:
|
||||||
while True:
|
while True:
|
||||||
for item in tracks['items']:
|
for item in tracks['items']:
|
||||||
track = item['track']
|
track = item['track']
|
||||||
|
|||||||
Reference in New Issue
Block a user