From 36c938b06a2d35f6c96a7129fe29f4050c8a0f68 Mon Sep 17 00:00:00 2001 From: George Oliver Date: Mon, 30 May 2016 20:04:32 -0700 Subject: [PATCH] changed string to add newlines upon insert of batchcommand file fixes #984 --- evennia/utils/batchprocessors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/utils/batchprocessors.py b/evennia/utils/batchprocessors.py index 3a94d72acb..540c006d8e 100644 --- a/evennia/utils/batchprocessors.py +++ b/evennia/utils/batchprocessors.py @@ -274,7 +274,7 @@ class BatchCommandProcessor(object): def replace_insert(match): "Map replace entries" - return "\#\n".join(self.parse_file(match.group(1))) + return "\n#".join(self.parse_file(match.group(1))) # insert commands from inserted files text = RE_INSERT.sub(replace_insert, text)