mirror of https://github.com/CIRCL/AIL-framework
fix: [qrcode extractor] filter code39
parent
4dbda5975a
commit
7cf3c2c865
|
@ -60,6 +60,7 @@ class QrCodeReader(AbstractModule):
|
||||||
try:
|
try:
|
||||||
decodeds = decode(image)
|
decodeds = decode(image)
|
||||||
for decoded in decodeds:
|
for decoded in decodeds:
|
||||||
|
if decoded.type == 'QRCODE':
|
||||||
qr_codes = True
|
qr_codes = True
|
||||||
if decoded.data:
|
if decoded.data:
|
||||||
contents.append(decoded.data.decode())
|
contents.append(decoded.data.decode())
|
||||||
|
|
Loading…
Reference in New Issue