correctly cast call to CashDrawerError()
This commit is contained in:
parent
e7db5a9b4e
commit
512a5ff24a
@ -1131,7 +1131,7 @@ class Escpos(object, metaclass=ABCMeta):
|
|||||||
try:
|
try:
|
||||||
self._raw(CD_KICK_DEC_SEQUENCE(*pin))
|
self._raw(CD_KICK_DEC_SEQUENCE(*pin))
|
||||||
except TypeError as err:
|
except TypeError as err:
|
||||||
raise CashDrawerError(err)
|
raise CashDrawerError(str(err))
|
||||||
|
|
||||||
def linedisplay_select(self, select_display: bool = False) -> None:
|
def linedisplay_select(self, select_display: bool = False) -> None:
|
||||||
"""Select the line display or the printer.
|
"""Select the line display or the printer.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user