mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	Update src/escpos/printer/file.py
Add return type Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
This commit is contained in:
		@@ -94,7 +94,7 @@ class File(Escpos):
 | 
				
			|||||||
        if self.auto_flush:
 | 
					        if self.auto_flush:
 | 
				
			||||||
            self.flush()
 | 
					            self.flush()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def close(self):
 | 
					    def close(self) -> None:
 | 
				
			||||||
        """Close system file."""
 | 
					        """Close system file."""
 | 
				
			||||||
        if not self._device:
 | 
					        if not self._device:
 | 
				
			||||||
            return
 | 
					            return
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user