Fixed a typo in batchprocessor. Resolves #539.

This commit is contained in:
Griatch 2014-07-07 22:07:04 +02:00
parent ef8e52302a
commit 8af76ce669

View file

@ -334,7 +334,7 @@ class BatchCodeProcessor(object):
text = RE_INSERT.sub(replace_insert, text)
#text = re.sub(r"^\#INSERT (.*?)", replace_insert, text, flags=re.MULTILINE)
blocks = RE_CODE_SPLIT(text)
blocks = RE_CODE_SPLIT.split(text)
#blocks = re.split(r"(^\#CODE.*?$|^\#HEADER)$", text, flags=re.MULTILINE)
headers = []
codes = [] # list of tuples (code, info, objtuple)