mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	Update src/escpos/printer/lp.py
Add return type Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
This commit is contained in:
		@@ -155,7 +155,7 @@ class LP(Escpos):
 | 
			
		||||
        self.device.terminate()
 | 
			
		||||
        self._device = False
 | 
			
		||||
 | 
			
		||||
    def flush(self):
 | 
			
		||||
    def flush(self) -> None:
 | 
			
		||||
        """End line and wait for new commands."""
 | 
			
		||||
        if self.device.stdin.writable():
 | 
			
		||||
            self.device.stdin.write(b"\n")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user