Replaced TypeError with general Exception
This commit is contained in:
parent
bb359e8365
commit
9d9028e093
@ -697,7 +697,7 @@ class Escpos(object):
|
||||
else:
|
||||
try:
|
||||
self._raw(CD_KICK_DEC_SEQUENCE(*pin))
|
||||
except Exception as e:
|
||||
except TypeError as e:
|
||||
raise CashDrawerError(e)
|
||||
|
||||
def linedisplay_select(self, select_display=False):
|
||||
|
Loading…
x
Reference in New Issue
Block a user