fixes #530 Bug in barcode_reader.py example