1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-20 04:48:00 +01:00

Simplified psk escape process.

This commit is contained in:
imdano
2008-01-24 14:25:27 +00:00
parent 7886051d87
commit f7241ad7b7

View File

@@ -446,7 +446,7 @@ class WirelessConnectThread(ConnectThread):
re.I | re.M | re.S) re.I | re.M | re.S)
self.network['psk'] = misc.RunRegex(key_pattern, self.network['psk'] = misc.RunRegex(key_pattern,
misc.Run('wpa_passphrase "' + self.network['essid'] + misc.Run('wpa_passphrase "' + self.network['essid'] +
'" "' + misc.shell_escape(self.network['key']) '" "' + re.escape(self.network['key'])
+ '"')) + '"'))
# Generate the wpa_supplicant file... # Generate the wpa_supplicant file...
if self.network.get('enctype') is not None: if self.network.get('enctype') is not None: