summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--verify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/verify.py b/verify.py
index 4abb530..63506d7 100644
--- a/verify.py
+++ b/verify.py
@@ -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():