1
0
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:
Dan O'Reilly
2009-03-27 23:13:16 -04:00
parent d7f2fd4780
commit 2b54f26c4e

View File

@@ -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