feat(ai_mail): fix json_handler output dir — ai_mail_json instead of .ai_mail.local

Co-Authored-By: @ai_mail <ai_mail@aipass>
This commit is contained in:
AIOSAI
2026-03-17 22:33:46 -07:00
co-authored by @ai_mail
parent e099fcacf3
commit ad824bd0d1
2 changed files with 2 additions and 2 deletions
@@ -17,7 +17,7 @@ from pathlib import Path
# Infrastructure paths (package-relative)
_AI_MAIL_ROOT = Path(__file__).resolve().parents[3] # ai_mail/
AI_MAIL_JSON_DIR = _AI_MAIL_ROOT / ".ai_mail.local"
AI_MAIL_JSON_DIR = _AI_MAIL_ROOT / "ai_mail_json"
from aipass.ai_mail.apps.handlers.json_utils.json_handler import ( # noqa: F401
load_json,
@@ -23,7 +23,7 @@ import inspect
_AI_MAIL_ROOT = Path(__file__).resolve().parents[3] # ai_mail/
# Constants - Updated for AI_MAIL
AI_MAIL_JSON_DIR = _AI_MAIL_ROOT / ".ai_mail.local"
AI_MAIL_JSON_DIR = _AI_MAIL_ROOT / "ai_mail_json"
JSON_TEMPLATES_DIR = _AI_MAIL_ROOT / "apps" / "json_templates"