From cb0c4a512f2d4632ead616596325a529d7a0275b Mon Sep 17 00:00:00 2001 From: Oliver Hofmann Date: Sun, 17 May 2026 18:10:18 +0200 Subject: [PATCH] fix: clear stale pyc on start; correct email label-based extraction --- start.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/start.sh b/start.sh index a1f5a70..5a05d8a 100755 --- a/start.sh +++ b/start.sh @@ -9,4 +9,7 @@ if [ ! -d ".venv" ]; then .venv/bin/playwright install chromium fi +# Clear stale bytecode before each run to avoid executing outdated .pyc files +find src -name "*.pyc" -delete 2>/dev/null || true + PYTHONDONTWRITEBYTECODE=1 .venv/bin/python main.py "$@"