mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +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')
|
||||
tracks = result['tracks']
|
||||
|
||||
with open('list.txt', 'a') as fout:
|
||||
with open('list.txt', 'w') as fout:
|
||||
while True:
|
||||
for item in tracks['items']:
|
||||
track = item['track']
|
||||
|
||||
Reference in New Issue
Block a user