This commit is contained in:
Peter D. Gray 2023-12-14 11:16:08 -05:00
parent 7d5641bae7
commit b50afff4a1
No known key found for this signature in database
GPG Key ID: A2DCD558C2BE5D7C

View File

@ -3,6 +3,7 @@
# Render a little barcode we need for selftest process.
#
# - packed bytes
#
import barcode
from io import BytesIO
from barcode import Code128
@ -59,6 +60,7 @@ def doit(ofile='barcode.h'):
break
assert version
msg = f'GPU={version}'
msg = f'GPU'
bc = Code128(msg, writer=Packer())
rv = bc.render()