diff options
| author | Yuval Adam <_@yuv.al> | 2021-03-17 17:33:36 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-03-17 17:33:36 +0200 |
| commit | cc6d04b96944dbc17da498d17c4f36a9ea75b874 (patch) | |
| tree | e72417450aa93265cb4a69eb0398496d00c686d9 /verify.py | |
| parent | f03f2c98e28136e77792e078e54a6fc768f5d460 (diff) | |
Naming cleanup
Diffstat (limited to 'verify.py')
| -rw-r--r-- | verify.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -123,7 +123,7 @@ class GreenPassVerifier(object): type=click.Path(exists=True), help="Path to decoded QR code textual content", ) -def verify_cmd(pdf_path="", image_path="", txt_path=""): +def verify(pdf_path="", image_path="", txt_path=""): if image_path: verifier = GreenPassVerifier.from_qr(image_path) elif pdf_path: @@ -134,9 +134,8 @@ def verify_cmd(pdf_path="", image_path="", txt_path=""): ctx = click.get_current_context() click.echo(ctx.get_help()) ctx.exit() - verifier.verify() if __name__ == "__main__": - verify_cmd() + verify() |
