mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-04-03 09:21:48 +01:00
change of id for this class of data issue
This commit is contained in:
parent
6bca75b877
commit
efa40b47ca
@ -497,6 +497,7 @@ def GetCaveLookup():
|
|||||||
Gcave_count = defaultdict(int) # sets default value to int(0)
|
Gcave_count = defaultdict(int) # sets default value to int(0)
|
||||||
|
|
||||||
DataIssue.objects.filter(parser="aliases").delete()
|
DataIssue.objects.filter(parser="aliases").delete()
|
||||||
|
DataIssue.objects.filter(parser="aliases ok").delete()
|
||||||
|
|
||||||
for cave in Cave.objects.all():
|
for cave in Cave.objects.all():
|
||||||
key = cave.official_name.lower()
|
key = cave.official_name.lower()
|
||||||
@ -681,7 +682,7 @@ def GetCaveLookup():
|
|||||||
if ldup:
|
if ldup:
|
||||||
message = f" - Ambiguous aliases removed: {ldup}"
|
message = f" - Ambiguous aliases removed: {ldup}"
|
||||||
print(message)
|
print(message)
|
||||||
DataIssue.objects.create(parser="aliases", message=message)
|
DataIssue.objects.create(parser="aliases ok", message=message)
|
||||||
|
|
||||||
for c in Gcave_count:
|
for c in Gcave_count:
|
||||||
if Gcave_count[c] > 1:
|
if Gcave_count[c] > 1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user