fix unnecessary quotes in nmcli connect
This commit is contained in:
parent
9528acb0aa
commit
f7efa06d5e
|
@ -2,7 +2,6 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import pipes
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
|
||||||
|
@ -67,4 +66,4 @@ class NetworkManagerConnector:
|
||||||
|
|
||||||
def connect(self, network):
|
def connect(self, network):
|
||||||
self._call_nmcli(["device", "wifi", "connect",
|
self._call_nmcli(["device", "wifi", "connect",
|
||||||
pipes.quote(network["ssid"])], parse=False)
|
network["ssid"]], parse=False)
|
||||||
|
|
Loading…
Reference in a new issue