Skip to content

Commit

Permalink
fixes #3, illegal Windows filename in multiple barcod condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jbest committed Feb 1, 2021
1 parent 6ccb46f commit 16c35f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barcode-simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def walk(path=None):
if len(barcodes) > 1:
#print(barcodes)
barcode_values = [b['data'] for b in barcodes]
multi_string = '_BARCODES[' + '|'.join(barcode_values) + ']'
multi_string = '_BARCODES[' + ','.join(barcode_values) + ']'
print('ALERT - multiple barcodes found. Using only first barcode of', len(barcodes))
#print('ALERT - multiple barcodes in file:', file_path)
else:
Expand Down

0 comments on commit 16c35f0

Please sign in to comment.