fix: add debug print for pa11y JSON output type in check_wcag_unique.py

This commit is contained in:
Mark Eaton
2025-09-17 14:32:39 -04:00
committed by Mark Eaton (aider)
parent a622bf203f
commit e0098733fd
+1
View File
@@ -40,6 +40,7 @@ def run_pa11y(url: str) -> List[dict]:
return []
try:
print(type(result.stdout))
return json.loads(result.stdout)
except json.JSONDecodeError:
print(f"[WARN] Could not parse pa11y JSON output for {url}", file=sys.stderr)