Fix DATA_DIR env var in all modules

This commit is contained in:
Bonna
2026-06-06 14:29:13 -05:00
parent 481f26d530
commit 9218994cce
7 changed files with 12 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ import json
import os
from datetime import date
DATA_DIR = os.path.join(os.path.dirname(__file__), "data")
DATA_DIR = os.environ.get("DATA_DIR", os.path.join(os.path.dirname(__file__), "data"))
SINKING_FILE = os.path.join(DATA_DIR, "sinking_funds.json")
FUND_COLORS = {