From 548c577d72b6764c9140ba10457add36f6b35356 Mon Sep 17 00:00:00 2001 From: Brandon Date: Wed, 24 Mar 2021 12:53:09 +0000 Subject: [PATCH] Updated Adding your own checker (markdown) --- Adding-your-own-checker.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Adding-your-own-checker.md b/Adding-your-own-checker.md index aa28f5c..9248fa9 100644 --- a/Adding-your-own-checker.md +++ b/Adding-your-own-checker.md @@ -70,7 +70,7 @@ class ChiSquared(Checker[str]): logger.debug(chi_sq / len(text)) if chi_sq / len(text) > 50.0: print(chi_sq / len(text)) - return True + return "" return None @@ -94,7 +94,7 @@ class ChiSquared(Checker[str]): } ``` -**Important** Your checker needs to return True for it's worked, and None for it's failed. +**Important** Your checker needs to return `""` for it's worked, and None for it's failed. Next add your checker to: