mirror of
				https://github.com/python-escpos/python-escpos
				synced 2025-10-23 09:30:00 +00:00 
			
		
		
		
	Update src/escpos/printer/cups.py
f-string Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
This commit is contained in:
		@@ -180,5 +180,5 @@ class CupsPrinter(Escpos):
 | 
				
			|||||||
            return
 | 
					            return
 | 
				
			||||||
        if self.pending_job:
 | 
					        if self.pending_job:
 | 
				
			||||||
            self.send()
 | 
					            self.send()
 | 
				
			||||||
        print("Closing CUPS connection to printer {}".format(self.printer_name))
 | 
					        print(f"Closing CUPS connection to printer {self.printer_name}")
 | 
				
			||||||
        self.device = None
 | 
					        self.device = None
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user