Use literal string interpolation in integrations B-D (f-strings) (#26378)
This commit is contained in:
parent
105461edb5
commit
6a24d893c8
52 changed files with 116 additions and 126 deletions
|
@ -333,7 +333,7 @@ class CupsData:
|
|||
else:
|
||||
for ipp_printer in self._ipp_printers:
|
||||
self.attributes[ipp_printer] = conn.getPrinterAttributes(
|
||||
uri="ipp://{}:{}/{}".format(self._host, self._port, ipp_printer)
|
||||
uri=f"ipp://{self._host}:{self._port}/{ipp_printer}"
|
||||
)
|
||||
|
||||
self.available = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue