Fix menu/banner affichage

This commit is contained in:
Jordan ERNST 2018-04-25 16:51:19 +02:00
parent 0354a586a6
commit f1bc7d4fae

View File

@ -292,11 +292,6 @@ while "The program is running":
init() # Initialisation of colorama init() # Initialisation of colorama
IFPassdir, printername, AcrobatReader, clientsfile, clientsbkpfile, imgdir, pdftemplate, pngtemplate, fonttemplate = initialisation() IFPassdir, printername, AcrobatReader, clientsfile, clientsbkpfile, imgdir, pdftemplate, pngtemplate, fonttemplate = initialisation()
os.system('cls')
print('1 - Nouveau membre', '2 - Rechercher un membre', '3 - Quitter', sep='\n')
choix = input('Choix : ')
if choix == '1':
while "the informations are incorrect": # Loop Filling informations
os.system('cls') os.system('cls')
f = Figlet(font='big') f = Figlet(font='big')
print(colored(f.renderText('IFPass'), 'cyan', attrs=['bold'])) print(colored(f.renderText('IFPass'), 'cyan', attrs=['bold']))
@ -305,6 +300,12 @@ while "The program is running":
print(colored("\nATTENTION : Il s'agit d'une version en cours de développement, potentiellement instable !", 'red')) print(colored("\nATTENTION : Il s'agit d'une version en cours de développement, potentiellement instable !", 'red'))
print('\nLe programme IFPass à été écrit par Jordan ERNST Q1 2018.') print('\nLe programme IFPass à été écrit par Jordan ERNST Q1 2018.')
print('Pour toute question ou problème contactez-moi à pro.ernst@gmail.com.\n') print('Pour toute question ou problème contactez-moi à pro.ernst@gmail.com.\n')
print('1 - Nouveau membre', '2 - Rechercher un membre', '3 - Quitter', sep='\n')
choix = input('Choix : ')
if choix == '1':
while "the informations are incorrect": # Loop Filling informations
os.system('cls')
titre, firstname, surname, fullname = get_fullname() titre, firstname, surname, fullname = get_fullname()
dateinsc = date.today() dateinsc = date.today()
dateexp = dateinsc + timedelta(days=365) dateexp = dateinsc + timedelta(days=365)