fix: [qrcode extractor] fix empty qreader
Some checks are pending
CI / ail_test (3.7) (push) Waiting to run
CI / ail_test (3.10) (push) Waiting to run
CI / ail_test (3.8) (push) Waiting to run
CI / ail_test (3.9) (push) Waiting to run

This commit is contained in:
terrtia 2024-10-02 17:20:27 +02:00
parent 7cf3c2c865
commit ef932545b2
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -112,6 +112,8 @@ class QrCodeReader(AbstractModule):
return None return None
for content in contents: for content in contents:
if not content:
continue
print(content) print(content)
qr_code = QrCodes.create(content, self.obj) # copy screenshot + image daterange qr_code = QrCodes.create(content, self.obj) # copy screenshot + image daterange
if not qr_code: if not qr_code: