diff --git a/core/models/caves.py b/core/models/caves.py index 98094e4..0cfdd8e 100644 --- a/core/models/caves.py +++ b/core/models/caves.py @@ -497,6 +497,7 @@ def GetCaveLookup(): Gcave_count = defaultdict(int) # sets default value to int(0) DataIssue.objects.filter(parser="aliases").delete() + DataIssue.objects.filter(parser="aliases ok").delete() for cave in Cave.objects.all(): key = cave.official_name.lower() @@ -681,7 +682,7 @@ def GetCaveLookup(): if ldup: message = f" - Ambiguous aliases removed: {ldup}" print(message) - DataIssue.objects.create(parser="aliases", message=message) + DataIssue.objects.create(parser="aliases ok", message=message) for c in Gcave_count: if Gcave_count[c] > 1: