Fix another issue with integer keys.
This commit is contained in:
1 parent
d7f2fd4780
commit
2b54f26c4e
1 file changed
+2
-1
+2
-1
@@ -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