Skip to content
Snippets Groups Projects
Commit b7affbc6 authored by Pelle Koster's avatar Pelle Koster
Browse files

Do not consider visitors that have paid suspect of errors

parent 24d1ad2e
No related branches found
No related tags found
No related merge requests found
...@@ -66,6 +66,8 @@ class PossibleErrorReporter(CSVReporter): ...@@ -66,6 +66,8 @@ class PossibleErrorReporter(CSVReporter):
@staticmethod @staticmethod
def _is_suspect(obj: dict, ignore_registration_types: Collection[str]): def _is_suspect(obj: dict, ignore_registration_types: Collection[str]):
if obj['Paid']:
return False
if obj["Registration Type"] in ignore_registration_types: if obj["Registration Type"] in ignore_registration_types:
return False return False
return obj["Invoice Count"] != 1 return obj["Invoice Count"] != 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment