Skip to content
Snippets Groups Projects
Commit f135e0ed authored by Hector Blondel's avatar Hector Blondel
Browse files

ajout des w

parent d7ea73cd
No related branches found
No related tags found
No related merge requests found
......@@ -35,14 +35,14 @@ while True :
os.mkdir("contents")
with open("seen.json",'w') as f :
f.write("[]")
with open("seen_names.json") as f :
with open("seen_names.json",'w') as f :
f.write("[]")
os.chdir("../..")
#A supprimer lorsque tout le code aura été fait proprement
if "seen_names.json" not in os.listdir("musics/contents"):
with open("seen_names.json") as f :
with open("seen_names.json",'w') as f :
f.write("[]")
os.chdir("musics/"+playlist)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment