This commit is contained in:
Foufure13
2025-02-19 17:47:19 +01:00
parent fc2547c45c
commit ddbac35391
21 changed files with 470 additions and 140 deletions
+7 -1
View File
@@ -36,7 +36,13 @@ def hprint(color, texte):
console.print("[bold "+color+"] ["+timestamp+"] "+texte+" [/bold "+color+"]")
def del_pathfile(file_path):
try:
os.remove(file_path)
sprint(self.script_name,"green", "Fichier Suprimé : " +file_path)
except Exception as e:
sprint(self.script_name,"red", "del_file Error : "+ str(e))
# Supprimer le fichier après le traitement
def get_value_json(var_name, config):
return config.get(var_name)