diff --git a/download_server.py b/download_server.py index c21ec9840ab3a3cce662184cf9d5cd7c1107c336..3da632d43b3ee28cd268c9c2015b5662a7800949 100644 --- a/download_server.py +++ b/download_server.py @@ -16,6 +16,7 @@ while True : if tt - t > 5. : print("actualisation ...") + os.system("echo actualisation ...") t = tt with open("playlists.json",'r') as f : @@ -27,6 +28,7 @@ while True : os.chdir("musics") os.mkdir(playlist) + os.chdir(playlist) #On remplit le dossier de cette playlist os.mkdir("contents") with open("seen.json",'w') as f :