Finished encapsualte track.

This commit is contained in:
2026-05-09 12:43:49 -04:00
parent e313802a15
commit 4b11363f6b
9 changed files with 222 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
from pathlib import Path
import re
file_path = Path('src/app_controller.py')
code = file_path.read_text(encoding='utf-8')
# Remove the garbage tail
code = re.sub(r'\n= \[\]\s*$', '', code)
code = code.strip() + "\n"
file_path.write_text(code, encoding='utf-8')
print("Tail cleanup complete.")