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