From 259b9b063e666f44bb11092e6cb630df15e12f86 Mon Sep 17 00:00:00 2001 From: "Peter D. Gray" Date: Mon, 26 Feb 2024 11:13:12 -0500 Subject: [PATCH] v14 QR at x3 was seen as barcode, fixed --- testing/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/conftest.py b/testing/conftest.py index 876c7f44..44a166fe 100644 --- a/testing/conftest.py +++ b/testing/conftest.py @@ -602,8 +602,8 @@ def cap_screen_qr(cap_image): scanner = zbar.Scanner() for sym, value, *_ in scanner.scan(np): - assert sym == 'QR-Code', 'unexpected symbology: ' + sym - return value # bytes, could be binary + if sym == 'QR-Code': + return value # bytes, could be binary # for debug, check debug/last-qr.png raise RuntimeError('qr code not found')