diff --git a/libs/fingerprint.py b/libs/fingerprint.py index f9c5426..7abb553 100644 --- a/libs/fingerprint.py +++ b/libs/fingerprint.py @@ -167,9 +167,10 @@ class DBSchema: diff_total += diff_num else: self.__FuzzyTable() - percentage = 0 + percentage = 100 if (diff_total > 0): - percentage = float(diff_total) / all_total + percentage = percentage - float(diff_total) / all_total + return percentage #