Add ImportGenius customs shipment monitoring

This commit is contained in:
seanbetts committed 2026-05-22 20:29:25 +01:00
1 parent cde4f5f5fc
commit a1fee7a4df
17 files changed
+864 -31

No files matched your search

+2
View File
@@ -96,6 +96,8 @@ def customs_status(reports: Path):
report = reports / "customs-shipments.md"
if not any(path.exists() for path in (key_lines, errors, report)):
return "unavailable"
if count(key_lines) and count(errors):
return "partial"
if count(errors):
return "blocked"
return "available"