Use literal string interpolation in integrations T-W (f-strings) (#26394)
This commit is contained in:
parent
cde09062c4
commit
ef0e9431b6
50 changed files with 128 additions and 132 deletions
|
@ -80,7 +80,7 @@ class UbusDeviceScanner(DeviceScanner):
|
|||
|
||||
self.parse_api_pattern = re.compile(r"(?P<param>\w*) = (?P<value>.*);")
|
||||
self.last_results = {}
|
||||
self.url = "http://{}/ubus".format(host)
|
||||
self.url = f"http://{host}/ubus"
|
||||
|
||||
self.session_id = _get_session_id(self.url, self.username, self.password)
|
||||
self.hostapd = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue