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
|
||||
|
||||
import subprocess
|
||||
import pipes
|
||||
import re
|
||||
|
||||
|
||||
|
@ -67,4 +66,4 @@ class NetworkManagerConnector:
|
|||
|
||||
def connect(self, network):
|
||||
self._call_nmcli(["device", "wifi", "connect",
|
||||
pipes.quote(network["ssid"])], parse=False)
|
||||
network["ssid"]], parse=False)
|
||||
|
|
Loading…
Reference in a new issue