From 92f019cdbca0ce4fd5759136019618bfa37703c4 Mon Sep 17 00:00:00 2001
From: Blondel Hector <hector.blondel@student-cs.fr>
Date: Wed, 18 May 2022 00:22:46 +0200
Subject: [PATCH] path qui manquait

---
 download_server.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/download_server.py b/download_server.py
index 8ee58fc..e31dd50 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)
-- 
GitLab