Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
f53ede6c46 | |||
cbd21cf5fb | |||
ef0057c1b3 | |||
1332350e4b | |||
c7026ce9d3 | |||
f1bc7d4fae |
14
IFPass.py
14
IFPass.py
@ -22,7 +22,7 @@ from colorama import init
|
||||
from termcolor import colored
|
||||
|
||||
|
||||
version = '2.0'
|
||||
version = '2.2'
|
||||
|
||||
config = 'IFPass.conf'
|
||||
|
||||
@ -292,11 +292,6 @@ while "The program is running":
|
||||
init() # Initialisation of colorama
|
||||
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')
|
||||
f = Figlet(font='big')
|
||||
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('\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')
|
||||
|
||||
titre, firstname, surname, fullname = get_fullname()
|
||||
dateinsc = date.today()
|
||||
dateexp = dateinsc + timedelta(days=365)
|
||||
@ -340,6 +341,7 @@ while "The program is running":
|
||||
if version not in ('dev', 'devnocam'):
|
||||
bkpdb()
|
||||
printcard(cartefilename)
|
||||
break
|
||||
elif choix == '2':
|
||||
os.system('cls')
|
||||
membersearch()
|
||||
|
Reference in New Issue
Block a user