summaryrefslogtreecommitdiff
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
parent98e4927816654eed99c9504b6fd5e56da984cc41 (diff)
Fix code.HEADmaster
-rw-r--r--gen-code.py4
-rwxr-xr-xrun.sh2
2 files changed, 3 insertions, 3 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
diff --git a/run.sh b/run.sh
index dd9c5cc..19d02ff 100755
--- a/run.sh
+++ b/run.sh
@@ -17,7 +17,7 @@ do
rm -f code*smali messages.json
- timeout 25m time python3 ./gen-code.py
+ timeout 30m time python3 ./gen-code.py 0
if [ $? -eq 0 ]; then