Remove unnecessary format string
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ async def set_dns_servers(client: SagemcomClient, dns_servers: tuple[IPv4Address
|
||||
break
|
||||
else:
|
||||
try:
|
||||
await client.set_value_by_xpath(f"Device/DNS/Relay/Enable", True)
|
||||
await client.set_value_by_xpath('Device/DNS/Relay/Enable', True)
|
||||
except Exception as e:
|
||||
click.echo(e, err=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user