Compare commits
2 Commits
595262920a
...
3e1a921ed2
Author | SHA1 | Date |
---|---|---|
Yohann D'ANELLO | 3e1a921ed2 | |
Yohann D'ANELLO | 589a1599af |
|
@ -181,4 +181,6 @@ def main():
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
qrcode = read_qrcode(args.file)
|
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)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = pscheck
|
name = pscheck
|
||||||
|
version = 1.0
|
||||||
long_description = file: README.rst
|
long_description = file: README.rst
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
description = Vérificateur de pass sanitaire
|
description = Vérificateur de pass sanitaire
|
||||||
|
|
Loading…
Reference in New Issue