From f76db4e0d48854917325f072c7c7724c714daad3 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Wed, 16 Mar 2016 23:23:42 +0100 Subject: [PATCH] HOTFIX bracode: use proper NUL character instead of unicode-string --- escpos/escpos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/escpos/escpos.py b/escpos/escpos.py index 4498456..a5bac17 100644 --- a/escpos/escpos.py +++ b/escpos/escpos.py @@ -451,7 +451,7 @@ class Escpos(object): raise BarcodeCodeError() if function_type.upper() == "A": - self._raw("\x00") + self._raw(NUL) def text(self, txt): """ Print alpha-numeric text