diff --git a/parsers/caves.py b/parsers/caves.py index 219ae25..7f7364c 100644 --- a/parsers/caves.py +++ b/parsers/caves.py @@ -99,7 +99,7 @@ def readentrance(filename): message = " ! - DUPLICATE in db. entrance:"+ str(k.entrance) + ", slug:" + str(k.slug()) models.DataIssue.objects.create(parser='caves', message=message) print(message) - for k in kaves: + for k in kents: if k.slug() != None: print(" ! - OVERWRITING this one: slug:"+ str(k.slug())) k.notes = "DUPLICATE entrance found on import. Please fix\n" + k.notes