Fix menu/banner affichage
This commit is contained in:
		
							
								
								
									
										15
									
								
								IFPass.py
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								IFPass.py
									
									
									
									
									
								
							@@ -293,18 +293,19 @@ while "The program is running":
 | 
			
		||||
    IFPassdir, printername, AcrobatReader, clientsfile, clientsbkpfile, imgdir, pdftemplate, pngtemplate, fonttemplate = initialisation()
 | 
			
		||||
 | 
			
		||||
    os.system('cls')
 | 
			
		||||
    f = Figlet(font='big')
 | 
			
		||||
    print(colored(f.renderText('IFPass'), 'cyan', attrs=['bold']))
 | 
			
		||||
    print('Version : ', version)
 | 
			
		||||
    if version in ('dev', 'devnocam'):
 | 
			
		||||
        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('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')
 | 
			
		||||
            f = Figlet(font='big')
 | 
			
		||||
            print(colored(f.renderText('IFPass'), 'cyan', attrs=['bold']))
 | 
			
		||||
            print('Version : ', version)
 | 
			
		||||
            if version in ('dev', 'devnocam'):
 | 
			
		||||
                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('Pour toute question ou problème contactez-moi à pro.ernst@gmail.com.\n')
 | 
			
		||||
 | 
			
		||||
            titre, firstname, surname, fullname = get_fullname()
 | 
			
		||||
            dateinsc = date.today()
 | 
			
		||||
            dateexp = dateinsc + timedelta(days=365)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user