diff --git a/last_ai_sync.txt b/last_ai_sync.txt index f961b9d..ce8f117 100644 --- a/last_ai_sync.txt +++ b/last_ai_sync.txt @@ -1 +1 @@ -2026-06-26 02:00:58 \ No newline at end of file +2026-06-26 21:41:52 \ No newline at end of file diff --git a/master_ai_sync.py b/master_ai_sync.py index fbd665a..5e387f0 100755 --- a/master_ai_sync.py +++ b/master_ai_sync.py @@ -100,9 +100,9 @@ def update_email_audit_stats(): stats = {} for f in all_folder.glob("*.pdf"): - match = re.match(r'(\d{4}-\d{2}-\d{2})_([^_]+)_(.*)', f.stem) + match = re.match(r'([a-zA-Z0-9.-]+)_(\d{4}-\d{2}-\d{2})_(.*)', f.stem) if match: - dt_str, domain, subject = match.group(1), match.group(2), match.group(3) + domain, dt_str, subject = match.group(1), match.group(2), match.group(3) if domain not in stats: stats[domain] = {"inbound": 0, "outbound": 0, "last_date": dt_str} else: diff --git a/pipeline_status.json b/pipeline_status.json new file mode 100644 index 0000000..e143efa --- /dev/null +++ b/pipeline_status.json @@ -0,0 +1 @@ +{"status": "success", "step": "\u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e", "updated_at": "2026-06-26 21:41:52", "new_emails": 1, "total_emails": 0, "pdf_size_mb": 180.84} \ No newline at end of file