Corrected fix for #578
This commit is contained in:
parent
f35b5e2038
commit
8bb00d5595
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ class BatchCodeProcessor(object):
|
||||||
|
|
||||||
def replace_insert(match):
|
def replace_insert(match):
|
||||||
"Map replace entries"
|
"Map replace entries"
|
||||||
return "\#\n".join(self.parse_file(match.group()))
|
return "\#\n".join(self.parse_file(match.group(1)))
|
||||||
|
|
||||||
text = RE_INSERT.sub(replace_insert, text)
|
text = RE_INSERT.sub(replace_insert, text)
|
||||||
#text = re.sub(r"^\#INSERT (.*?)", replace_insert, text, flags=re.MULTILINE)
|
#text = re.sub(r"^\#INSERT (.*?)", replace_insert, text, flags=re.MULTILINE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue