python-barcode icon indicating copy to clipboard operation
python-barcode copied to clipboard

e.g. barcode.default_writer_options['quiet_zone'] = 10 isn´t working properly

Open mobsean opened this issue 6 years ago • 1 comments

Hello, I´m trying to set the quiet_zone very low. e.g. 0.6.

I fixed the order in the base.py render function: Line 105 and 106:

Removed this: options = Barcode.default_writer_options.copy() options.update(writer_options or {}) Instead I added this: writer_options.update(Barcode.default_writer_options) options = writer_options.copy()

Now its working. I´m new to github. Dont know how to make a pull request

mobsean avatar Jun 13 '19 09:06 mobsean

hi, which area is the quiet_zone

goog avatar Jul 17 '19 03:07 goog