changed string to add newlines upon insert of batchcommand file fixes #984

This commit is contained in:
George Oliver 2016-05-30 20:04:32 -07:00 committed by Griatch
parent 6bfafe5214
commit 36c938b06a

View file

@ -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)