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:
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user