Compare commits

...

2 Commits

Author SHA1 Message Date
Yohann D'ANELLO 3e1a921ed2
Version 1.0
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-08-17 20:13:23 +02:00
Yohann D'ANELLO 589a1599af
Code d'erreur en cas de test invalide
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-08-17 20:10:49 +02:00
2 changed files with 4 additions and 1 deletions

View File

@ -181,4 +181,6 @@ def main():
args = parser.parse_args()
qrcode = read_qrcode(args.file)
analyse_qrcode(qrcode, args.full, not args.dontcheck)
valid = analyse_qrcode(qrcode, args.full, not args.dontcheck)
exit(0 if valid else 2)

View File

@ -1,5 +1,6 @@
[metadata]
name = pscheck
version = 1.0
long_description = file: README.rst
long_description_content_type = text/markdown
description = Vérificateur de pass sanitaire