mirror of
https://github.com/gryf/wicd.git
synced 2025-12-21 21:38:06 +01:00
Fix another issue with integer keys.
This commit is contained in:
@@ -261,7 +261,8 @@ def ParseEncryption(network):
|
|||||||
else:
|
else:
|
||||||
rep_val = network.get(cur_val[0].lower())
|
rep_val = network.get(cur_val[0].lower())
|
||||||
if rep_val:
|
if rep_val:
|
||||||
line = line.replace("$_%s" % cur_val[0], rep_val)
|
line = line.replace("$_%s" % cur_val[0],
|
||||||
|
str(rep_val))
|
||||||
config_file = ''.join([config_file, line])
|
config_file = ''.join([config_file, line])
|
||||||
else:
|
else:
|
||||||
print "Ignoring template line: '%s'" % line
|
print "Ignoring template line: '%s'" % line
|
||||||
|
|||||||
Reference in New Issue
Block a user