Handle the special "<hidden>" SSID case from old IEEE80211 layer
[connman] / test / select-network
index e7c19be..376d9d2 100755 (executable)
@@ -21,7 +21,7 @@ for path in properties["Devices"]:
        properties = device.GetProperties()
 
        if (properties["Type"] != "wifi" and properties["Type"] != "wimax"):
-               continue;
+               continue
 
        print "[ %s ]" % (path)
 
@@ -31,7 +31,7 @@ for path in properties["Devices"]:
 
                properties = network.GetProperties()
 
-               if "Name" not in properties.keys:
+               if "Name" not in properties.keys():
                        continue
 
                if (properties["Connected"] == dbus.Boolean(1)):