From 689f6f77760d2ea416a21b2d8ad2c02565f41956 Mon Sep 17 00:00:00 2001 From: Alexander Whitestone Date: Mon, 13 Apr 2026 04:10:43 -0400 Subject: [PATCH] fix: restore main() function body in compile.py Lines 288-290 had literal \n characters instead of actual newlines, causing the main() function to have no body. Fixed formatting and removed duplicate args assignment. --- compile.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compile.py b/compile.py index 17f61a3..36670de 100644 --- a/compile.py +++ b/compile.py @@ -285,7 +285,10 @@ def compile_pdf(): return False -def main():\n print("Generating index...")\n os.system("python3 scripts/index_generator.py")\n +def main(): + print("Generating index...") + os.system("python3 scripts/index_generator.py") + args = sys.argv[1:] if "--check" in args: