WhyNotHugo / python-barcode

㊙️ Create standard barcodes with Python. No external dependencies. 100% Organic Python.
http://python-barcode.rtfd.io/
MIT License
572 stars 123 forks source link

Unexpected ">" symbol at the end of generated EAN-13 barcode #209

Closed SumnanAzadi closed 1 year ago

SumnanAzadi commented 1 year ago

When generating an EAN-13 barcode using the python-barcode library for the barcode number 4582559574028, an unexpected ">" symbol appears at the end of the barcode image.

Steps to reproduce:

  1. Install the python-barcode library.
  2. Use the EuropeanArticleNumber13WithGuard class to generate the barcode for the number 4582559574028.
  3. Save and view the generated barcode image.

Expected behavior: The generated EAN-13 barcode should represent the provided number without any extraneous symbols.

Actual behavior: An unexpected ">" symbol appears at the end of the barcode.

Am I wrong here or missing some knowledge?

Additional context: Here's a link to the generated barcode image that showcases the problem: ean13_temp_4582559574028

WhyNotHugo commented 1 year ago

Issue is gone in the latest release?

WhyNotHugo commented 1 year ago

Sorry, haven't had the chance to look at this one in depth.