diff options
author | Dan Williams <dcbw@redhat.com> | 2011-03-01 15:13:35 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-03-02 23:36:38 -0600 |
commit | 526b2d0e6dddef18309efbbd0c47d8f4d88f9102 (patch) | |
tree | 2f5d8649b08b406883f1342252fa95bf07fde8e2 /examples/python | |
parent | 56bbc139bdf118bb43580761d7b90262484924f7 (diff) | |
download | NetworkManager-526b2d0e6dddef18309efbbd0c47d8f4d88f9102.tar.gz |
examples: simplify system wifi connection example
Diffstat (limited to 'examples/python')
-rwxr-xr-x | examples/python/add-system-wifi-connection.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/python/add-system-wifi-connection.py b/examples/python/add-system-wifi-connection.py index 366c86e4cd..f12723d15b 100755 --- a/examples/python/add-system-wifi-connection.py +++ b/examples/python/add-system-wifi-connection.py @@ -27,9 +27,8 @@ s_con = dbus.Dictionary({ 'uuid': '7371bb78-c1f7-42a3-a9db-5b9566e8ca07', 'id': 'My Wifi'}) -ssid = dbus.Array([dbus.Byte('h'), dbus.Byte('o'), dbus.Byte('m'), dbus.Byte('e')], signature=dbus.Signature('y')) s_wifi = dbus.Dictionary({ - 'ssid': ssid, + 'ssid': dbus.ByteArray("homewifi"), 'security': '802-11-wireless-security'}) s_wsec = dbus.Dictionary({'key-mgmt': 'wpa-eap'}) |