Renamed TypeError Exception alias
This commit is contained in:
parent
9d9028e093
commit
1f3dd41bbb
@ -697,8 +697,8 @@ class Escpos(object):
|
||||
else:
|
||||
try:
|
||||
self._raw(CD_KICK_DEC_SEQUENCE(*pin))
|
||||
except TypeError as e:
|
||||
raise CashDrawerError(e)
|
||||
except TypeError as err:
|
||||
raise CashDrawerError(err)
|
||||
|
||||
def linedisplay_select(self, select_display=False):
|
||||
""" Selects the line display or the printer
|
||||
|
Loading…
x
Reference in New Issue
Block a user