Setup files

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
2021-08-17 19:57:42 +02:00
parent a830551258
commit 608dc99398
6 changed files with 48 additions and 1 deletions

7
pscheck/__main__.py Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env python
from pscheck import pscheck
if __name__ == '__main__':
pscheck.main()

View File

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