summaryrefslogtreecommitdiffstats
path: root/parsers/caves.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-10-05 21:11:18 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-10-05 21:11:18 +0300
commit7e47fe1f30e68bff5a31caee8cdf356d0f802888 (patch)
tree1a6ab8688d3ab4de45fcfd7326634dedba5925bd /parsers/caves.py
parent9e5bdace2c75eb6436ad33fc8908b1dd4df29c93 (diff)
downloadtroggle-7e47fe1f30e68bff5a31caee8cdf356d0f802888.tar.gz
troggle-7e47fe1f30e68bff5a31caee8cdf356d0f802888.tar.bz2
troggle-7e47fe1f30e68bff5a31caee8cdf356d0f802888.zip
Parse all files, not just those in the *include tree
Diffstat (limited to 'parsers/caves.py')
-rw-r--r--parsers/caves.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/parsers/caves.py b/parsers/caves.py
index 634434c..9458d7a 100644
--- a/parsers/caves.py
+++ b/parsers/caves.py
@@ -457,7 +457,7 @@ def readcaves():
DataIssue.objects.filter(parser='caves ok').delete()
DataIssue.objects.filter(parser='entrances').delete()
- print(" - Creating Areas 1623, 1624 and 1626")
+ print(" - Creating Areas 1623, 1624, 1627 and 1626")
# This crashes on the server with MariaDB even though a null parent is explicitly allowed.
area_1623= Area.objects.create(short_name = "1623", super=None)
print(" - Saving Area 1623")
@@ -468,6 +468,9 @@ def readcaves():
area_1626= Area.objects.create(short_name = "1626", super=None)
print(" - Saving Area 1626")
area_1626.save()
+ area_1627= Area.objects.create(short_name = "1627", super=None)
+ print(" - Saving Area 1627")
+ area_1627.save()
with transaction.atomic():