build() brings different results on repeated calls #143

Open
opened 2022-01-13 12:34:30 +01:00 by Kris-sbor · 0 comments
Kris-sbor commented 2022-01-13 12:34:30 +01:00 (Migrated from github.com)

from barcode import Code128
ean=Code128.get("1170773")
ean
<Code128('1170773')>
ean.build()
['110100111001100010010010110000100111101110101011110111011001011100111010001101100011101011']
ean.build()
['110100100001001110011010111011110100111001101001100010010000110100101101110001100011101011']
ean.build()
['110100111001100010010010110000100111101110101011110111011001011100111010001101100011101011']
ean.build()
['110100100001001110011010111011110100111001101001100010010000110100101101110001100011101011']

>>> from barcode import Code128 >>> ean=Code128.get("1170773") >>> ean <Code128('1170773')> >>> ean.build() ['110100111001100010010010110000100111101110101011110111011001011100111010001101100011101011'] >>> ean.build() ['110100100001001110011010111011110100111001101001100010010000110100101101110001100011101011'] >>> ean.build() ['110100111001100010010010110000100111101110101011110111011001011100111010001101100011101011'] >>> ean.build() ['110100100001001110011010111011110100111001101001100010010000110100101101110001100011101011'] >>>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
WhyNotHugo/python-barcode#143
No description provided.