summaryrefslogtreecommitdiffstats
path: root/parsers/caves.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2020-06-13 01:26:28 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2020-06-13 01:26:28 +0100
commitfb0438d3524ceaf331a53622153bfec06aa5175a (patch)
tree3bf1140c50ea239f599b7c8c0b23ad3920a60ae7 /parsers/caves.py
parent44fe6a8b8921920d7c2b25164d58bb338a5ae653 (diff)
downloadtroggle-fb0438d3524ceaf331a53622153bfec06aa5175a.tar.gz
troggle-fb0438d3524ceaf331a53622153bfec06aa5175a.tar.bz2
troggle-fb0438d3524ceaf331a53622153bfec06aa5175a.zip
bugfix returning multiple object catch
Diffstat (limited to 'parsers/caves.py')
-rw-r--r--parsers/caves.py2
1 files changed, 1 insertions, 1 deletions
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