summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parsers/caves.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/parsers/caves.py b/parsers/caves.py
index 638adcc..96497c4 100644
--- a/parsers/caves.py
+++ b/parsers/caves.py
@@ -172,9 +172,8 @@ def readcaves():
print(" - Creating Areas 1623 and 1626")
# This crashes on the server with MariaDB even though a null parent is explicitly allowed.
- area_1623, state = Area.objects.update_or_create(short_name = "1623")
- #print(f' ! - READ CAVES: {area_1623}')
- area_1626, state = Area.objects.update_or_create(short_name = "1626")
+ area_1623= Area.objects.create(short_name = "1623")
+ area_1626= Area.objects.create(short_name = "1626")
print (" - Setting pending caves")
# Do this first, so that these empty entries are overwritten as they get properly created.