update
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user