1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +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:
Benito López
2023-09-01 23:07:27 +02:00
committed by GitHub
parent d68eee08a7
commit 21b329a955

View File

@@ -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