summaryrefslogtreecommitdiff
path: root/gen-code.py
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2025-08-04 21:40:23 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2025-08-04 21:40:23 (GMT)
commit5dbe611c74f4b38b8dce6bc8619d02e2edc7f2a2 (patch)
tree7181f103129b9641b61439c622ac1d5ac93f9c9b /gen-code.py
parent98e4927816654eed99c9504b6fd5e56da984cc41 (diff)
Fix code.HEADmaster
Diffstat (limited to 'gen-code.py')
-rw-r--r--gen-code.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gen-code.py b/gen-code.py
index 3bd1cbc..4b2eebf 100644
--- a/gen-code.py
+++ b/gen-code.py
@@ -160,9 +160,9 @@ def check_code(index, config):
else:
next_msg = \
- config.__ERROR_PROLOGUE__.lstrip('\n').rstrip('\n') \
+ config.__ERROR_PROLOGUE__.lstrip('\n') \
+ '\n'.join(next_msg) \
- + config.__ERROR_EPILOGUE__.rstrip('\n') \
+ + config.__ERROR_EPILOGUE__
return next_msg