[FIX] hw_escpos: small fix to avoid error on throwing error

This commit is contained in:
Josse Colpaert
2018-07-13 13:45:13 +02:00
parent 4045e4fe66
commit 9e8f70e484
+1 -1
View File
@@ -527,7 +527,7 @@ class Escpos:
# https://github.com/python-escpos/python-escpos/pull/98/files#diff-a0b1df12c7c67e38915adbe469051e2dR444
self._raw('\x00')
else:
raise exception.BarcodeCodeError()
raise BarcodeCodeError()
def receipt(self,xml):
"""