Fix python3 barcode type b length encoding

This commit is contained in:
Davis Goglin 2016-03-16 16:26:13 -07:00 committed by Davis Goglin
parent ca3b4665a2
commit 14ae1a7d89
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ class Escpos(object):
self._raw(bc_types[bc.upper()])
if function_type.upper() == "B":
self._raw(chr(len(code)))
self._raw(six.int2byte(len(code)))
# Print Code
if code: