Output csv-normaliser "failed to find picture" messages in red

This commit is contained in:
2024-09-03 19:57:16 +10:00
parent bf5aee2f00
commit 36897255a4

View File

@@ -108,7 +108,7 @@ if (($handle = fopen($inputFile, "r")) !== FALSE) {
} }
} }
if ($picture === "") { if ($picture === "") {
print("Failed to identify picture for " . $candidateName . "\n"); print("\033[31mFailed to identify picture for " . $candidateName . "\033[0m\n");
} }
$rating = $data[2]; $rating = $data[2];