mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
networks: Minor indentation fixes
This commit is contained in:
1 parent
d1b20ac113
commit
da99a7cb9d
4 files changed
+68
-68
No files matched your search
+2
-2
@@ -496,8 +496,8 @@ def add_wifi_connection(name, interface, zone, ssid, mode, auth_mode,
|
||||
connection_uuid = str(uuid.uuid4())
|
||||
connection = _update_wifi_settings(
|
||||
None, connection_uuid, name, interface, zone, ssid, mode, auth_mode,
|
||||
passphrase, ipv4_method, ipv4_address, ipv4_netmask,
|
||||
ipv4_gateway, ipv4_dns, ipv4_second_dns)
|
||||
passphrase, ipv4_method, ipv4_address, ipv4_netmask, ipv4_gateway,
|
||||
ipv4_dns, ipv4_second_dns)
|
||||
client = nm.Client.new(None)
|
||||
client.add_connection_async(connection, True, None, _callback, None)
|
||||
return connection_uuid
|
||||
|
||||
Reference in new issue
Block a user