Skip to content

Commit 9267363

Browse files
authoredOct 2, 2022
Update barcode_scanner.py
1 parent 75cf386 commit 9267363

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎barcode_scanner/barcode_scanner.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ def barcode(decoded, image):
1515
def scan(image):
1616
dcode = decode(image)
1717
for obj in dcode:
18-
print ('Given barcode:', obj)
18+
print('Given barcode:', obj)
1919
image = barcode(obj, image)
20-
print ('Barcode Type:', obj.type)
21-
print ('Scanned Data:', obj.data)
22-
print ()
20+
print('Barcode Type:', obj.type)
21+
print('Scanned Data:', obj.data)
22+
print()
2323
return image
2424

2525

0 commit comments

Comments
 (0)
Please sign in to comment.