From ef932545b2568ef19520c25dcb2397985a0346fd Mon Sep 17 00:00:00 2001 From: terrtia Date: Wed, 2 Oct 2024 17:20:27 +0200 Subject: [PATCH] fix: [qrcode extractor] fix empty qreader --- bin/modules/QrCodeReader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/modules/QrCodeReader.py b/bin/modules/QrCodeReader.py index 00b50132..fa82852a 100755 --- a/bin/modules/QrCodeReader.py +++ b/bin/modules/QrCodeReader.py @@ -112,6 +112,8 @@ class QrCodeReader(AbstractModule): return None for content in contents: + if not content: + continue print(content) qr_code = QrCodes.create(content, self.obj) # copy screenshot + image daterange if not qr_code: