Merge branch 'fix/nmcli-quotes' into 'master'
fix unnecessary quotes in nmcli connect See merge request laudom/librefi!7
This commit is contained in:
commit
555aef17cc
|
@ -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