mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
HOTFIX bracode: use proper NUL character instead of unicode-string
This commit is contained in:
@@ -451,7 +451,7 @@ class Escpos(object):
|
|||||||
raise BarcodeCodeError()
|
raise BarcodeCodeError()
|
||||||
|
|
||||||
if function_type.upper() == "A":
|
if function_type.upper() == "A":
|
||||||
self._raw("\x00")
|
self._raw(NUL)
|
||||||
|
|
||||||
def text(self, txt):
|
def text(self, txt):
|
||||||
""" Print alpha-numeric text
|
""" Print alpha-numeric text
|
||||||
|
Reference in New Issue
Block a user