Skip to content

Commit bc12692

Browse files
fix undefined variable bug
1 parent 68d1117 commit bc12692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/general-settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
# 5.Output the barcode text.
5151
if results != None:
5252
i = 0
53-
for res in results:
53+
for text_result in results:
5454
print("Barcode " + str(i))
5555
print("Barcode Format : " + text_result.barcode_format_string)
5656
print("Barcode Text : " + text_result.barcode_text)

0 commit comments

Comments
 (0)