Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
f53ede6c46 | |||
cbd21cf5fb | |||
ef0057c1b3 | |||
1332350e4b | |||
c7026ce9d3 | |||
f1bc7d4fae |
18
IFPass.py
18
IFPass.py
@ -22,7 +22,7 @@ from colorama import init
|
|||||||
from termcolor import colored
|
from termcolor import colored
|
||||||
|
|
||||||
|
|
||||||
version = '2.0'
|
version = '2.2'
|
||||||
|
|
||||||
config = 'IFPass.conf'
|
config = 'IFPass.conf'
|
||||||
|
|
||||||
@ -293,18 +293,19 @@ while "The program is running":
|
|||||||
IFPassdir, printername, AcrobatReader, clientsfile, clientsbkpfile, imgdir, pdftemplate, pngtemplate, fonttemplate = initialisation()
|
IFPassdir, printername, AcrobatReader, clientsfile, clientsbkpfile, imgdir, pdftemplate, pngtemplate, fonttemplate = initialisation()
|
||||||
|
|
||||||
os.system('cls')
|
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')
|
print('1 - Nouveau membre', '2 - Rechercher un membre', '3 - Quitter', sep='\n')
|
||||||
choix = input('Choix : ')
|
choix = input('Choix : ')
|
||||||
if choix == '1':
|
if choix == '1':
|
||||||
while "the informations are incorrect": # Loop Filling informations
|
while "the informations are incorrect": # Loop Filling informations
|
||||||
os.system('cls')
|
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()
|
titre, firstname, surname, fullname = get_fullname()
|
||||||
dateinsc = date.today()
|
dateinsc = date.today()
|
||||||
dateexp = dateinsc + timedelta(days=365)
|
dateexp = dateinsc + timedelta(days=365)
|
||||||
@ -340,6 +341,7 @@ while "The program is running":
|
|||||||
if version not in ('dev', 'devnocam'):
|
if version not in ('dev', 'devnocam'):
|
||||||
bkpdb()
|
bkpdb()
|
||||||
printcard(cartefilename)
|
printcard(cartefilename)
|
||||||
|
break
|
||||||
elif choix == '2':
|
elif choix == '2':
|
||||||
os.system('cls')
|
os.system('cls')
|
||||||
membersearch()
|
membersearch()
|
||||||
|
Reference in New Issue
Block a user