ajout du nom du dossier crée

ddenoncin 3 years ago
parent 3ee306e882
commit 5d53d4eedc

@ -83,8 +83,6 @@ def documentex(dossier: str, type_document: str):
auteur_titre = constantes.auteur_titre
auteur_adresse_mail = constantes.auteur_adresse_mail
click.clear()
click.secho("Nouveau dossier LaTeX", fg="red")
if appartenance:
classe = constantes.classe_appartenance
@ -227,3 +225,5 @@ def documentex(dossier: str, type_document: str):
shutil.copytree(os.path.join(nom_fichier,'Utils'),os.path.join(os.path.join(nom_fichier,'Correction'),'Utils'))
for fichier in fichiers:
shutil.copy(fichier,os.path.join(nom_fichier,'Correction'))
click.secho(f"Le dossier LaTeX {nom_fichier} a été crée !", fg="red")

Loading…
Cancel
Save