From 5dbe611c74f4b38b8dce6bc8619d02e2edc7f2a2 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Mon, 4 Aug 2025 23:40:23 +0200 Subject: Fix code. --- gen-code.py | 4 ++-- run.sh | 2 +- 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 -- cgit v0.11.2-87-g4458