diff --git a/download_server.py b/download_server.py index 8ee58fc92c80334d1b578e9d0d1a7e7615ef3d9e..e31dd507ee999165bf5edf1cb6f4fc32d9180540 100644 --- a/download_server.py +++ b/download_server.py @@ -42,7 +42,7 @@ while True : #A supprimer lorsque tout le code aura été fait proprement if "seen_names.json" not in os.listdir("musics/"+playlist): - with open("seen_names.json",'w') as f : + with open("musics/"+playlist+"/seen_names.json",'w') as f : f.write("[]") os.chdir("musics/"+playlist)