mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 12:58:07 +01:00
Fix another issue with integer keys.
This commit is contained in:
@@ -261,7 +261,8 @@ def ParseEncryption(network):
|
||||
else:
|
||||
rep_val = network.get(cur_val[0].lower())
|
||||
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])
|
||||
else:
|
||||
print "Ignoring template line: '%s'" % line
|
||||
|
||||
Reference in New Issue
Block a user