mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 09:46:32 +01:00
Fixed a typo in batchprocessor. Resolves #539.
This commit is contained in:
parent
ef8e52302a
commit
8af76ce669
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue