fixed infinite loop
parent
9d3e3945b2
commit
fcccd0c408
|
@ -78,6 +78,7 @@ for variable in config_values:
|
|||
while i<len(replacement):
|
||||
if replacement[i] == '?' and (i==0 or not replacement[i-1]=='\\'):
|
||||
argument_positions = argument_positions + [ i ]
|
||||
i = i+1
|
||||
print "DEBUG: " + argument_positions
|
||||
replacement = replacement.replace("\\?", "?")
|
||||
file_out = open(sys.argv[1], "w")
|
||||
|
|
Loading…
Reference in New Issue