[WirelessLanSetup] add quote to wpa_passphrase for password.
[vuplus_dvbapp] / lib / python / Plugins / SystemPlugins / WirelessLanSetup / plugin.py
index 24148a5..7f53647 100755 (executable)
@@ -708,7 +708,7 @@ class WlanConfig(Screen, ConfigListScreen, HelpableScreen):
                        self.getWpaPhrase()
 
        def getWpaPhrase(self):
-               cmd = "wpa_passphrase '%s' %s" % (self.ssidConfigEntry.value, self.keyConfigEntry.value)
+               cmd = "wpa_passphrase '%s' '%s'" % (self.ssidConfigEntry.value, self.keyConfigEntry.value)
 #              print cmd
                data = popen(cmd).readlines()
                plainpwd = None