Add early debug logging for ALWRITY_ENABLED_FEATURES

This commit is contained in:
ajaysi
2026-04-06 12:17:49 +05:30
parent c361bd127d
commit 03d43fb54b

View File

@@ -43,6 +43,9 @@ def get_enabled_features() -> set:
return {f.strip() for f in env_value.split(",") if f.strip()}
# Print env var IMMEDIATELY at module start
print(f"[app.py] ALWRITY_ENABLED_FEATURES at start: {os.getenv('ALWRITY_ENABLED_FEATURES')}", flush=True)
def is_podcast_only_demo_mode() -> bool:
"""Check if podcast-only mode is enabled."""
import os