Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit c179790

Browse files
authored
Update main.py
1 parent d4626b6 commit c179790

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def read_playlist():
5252
playlist_id = os.getenv("playlist_id")
5353
authenticate_spotify()
5454
read_playlist()
55-
with open('2023.txt', 'w') as f:
55+
with open(f"{playlist_id}.txt", 'w') as f:
5656
for track in tracks:
5757
print(track, file=f)
5858
except Exception as error:

0 commit comments

Comments
 (0)