From 21b329a9557636feb72dad0af48c81db8e716138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benito=20L=C3=B3pez?= Date: Fri, 1 Sep 2023 23:07:27 +0200 Subject: [PATCH] Update src/escpos/printer/cups.py f-string Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com> --- src/escpos/printer/cups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/escpos/printer/cups.py b/src/escpos/printer/cups.py index a0dc1b7..3900cc6 100644 --- a/src/escpos/printer/cups.py +++ b/src/escpos/printer/cups.py @@ -180,5 +180,5 @@ class CupsPrinter(Escpos): return if self.pending_job: 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