Code formatting

This commit is contained in:
Jordan ERNST 2018-12-10 16:18:23 +01:00
parent 437015589f
commit 56d3b27ef9

View File

@ -45,7 +45,6 @@ def initialisation():
printername = conf['DEFAULT']['printername'] printername = conf['DEFAULT']['printername']
AcrobatReader = conf['DEFAULT']['AcrobatReader'] AcrobatReader = conf['DEFAULT']['AcrobatReader']
clientsfile = os.path.join(IFPassdir, 'Clients_IFPass.csv') clientsfile = os.path.join(IFPassdir, 'Clients_IFPass.csv')
clientsbkpfile = os.path.join(IFPassdir, 'Clients_IFPass_backup.csv') clientsbkpfile = os.path.join(IFPassdir, 'Clients_IFPass_backup.csv')
imgdir = os.path.join(IFPassdir, 'Cartes') imgdir = os.path.join(IFPassdir, 'Cartes')
@ -161,7 +160,6 @@ def getpic():
picture = Image.fromarray(cropped) picture = Image.fromarray(cropped)
return picture return picture
elif k & 0xFF == ord('q'): # Q or q to quit elif k & 0xFF == ord('q'): # Q or q to quit
cv2.destroyAllWindows() cv2.destroyAllWindows()
sys.exit() sys.exit()