diff options
| author | Yuval Adam <_@yuv.al> | 2021-03-17 12:04:35 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-03-17 12:04:35 +0200 |
| commit | 15e20946c83d1520553b3562f6fd3fd392ebec56 (patch) | |
| tree | 3879825f6050eec1d79ff0a5fffaf308ae8a9acc /verify.py | |
| parent | 9905cca620c5a94392758a72f34189e6c95c83b0 (diff) | |
Cleanup duplicate code
Diffstat (limited to 'verify.py')
| -rw-r--r-- | verify.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ def read_pdf(pdf_path): ): img = fitz.Pixmap(doc, xref) data = img.getImageData(output="png") - return pyzbar.decode(Image.open(BytesIO(data)))[0].data + return read_qr_code(BytesIO(data)) def create_arg_parser(): |
