mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	raise exception when TypeError occurs in cashdraw (#268)
This commit is contained in:
		@@ -697,8 +697,8 @@ class Escpos(object):
 | 
			
		||||
        else:
 | 
			
		||||
            try:
 | 
			
		||||
                self._raw(CD_KICK_DEC_SEQUENCE(*pin))
 | 
			
		||||
            except:
 | 
			
		||||
                raise CashDrawerError()
 | 
			
		||||
            except TypeError as err:
 | 
			
		||||
                raise CashDrawerError(err)
 | 
			
		||||
 | 
			
		||||
    def linedisplay_select(self, select_display=False):
 | 
			
		||||
        """ Selects the line display or the printer
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user