From 16c35f0f69e0128a1f7aeab1ec9f9a47683c8b8b Mon Sep 17 00:00:00 2001 From: Jason Best Date: Mon, 1 Feb 2021 15:33:17 -0600 Subject: [PATCH] fixes #3, illegal Windows filename in multiple barcod condition --- barcode-simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barcode-simple.py b/barcode-simple.py index 8f24568..e815138 100644 --- a/barcode-simple.py +++ b/barcode-simple.py @@ -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: