From e290edcd931a8c4d587aa7c1b7a84b7a51b8196b Mon Sep 17 00:00:00 2001 From: Allen Date: Mon, 17 Jul 2017 14:44:40 +0800 Subject: [PATCH] fix:match analyzer compare --- golismero/api/text/matching_analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golismero/api/text/matching_analyzer.py b/golismero/api/text/matching_analyzer.py index a15f138..4a02572 100644 --- a/golismero/api/text/matching_analyzer.py +++ b/golismero/api/text/matching_analyzer.py @@ -197,7 +197,7 @@ def analyze(self, text, **kwargs): ratio = get_diff_ratio(self.__base_text, text) # If it's lower than our boundary... - if ratio > self.__min_ratio: + if ratio < self.__min_ratio: # Invalidate the caches. self.__clear_caches()