2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00

change of id for this class of data issue

This commit is contained in:
Philip Sargent 2023-08-02 15:47:24 +03:00
parent 6bca75b877
commit efa40b47ca

View File

@ -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: