diff --git a/parsers/caves.py b/parsers/caves.py
index f4bcf841d..e7eebb41c 100644
--- a/parsers/caves.py
+++ b/parsers/caves.py
@@ -119,7 +119,7 @@ def create_new_cave(svxpath, msg=None):
# double check
if a[0:3] == "162":
areacode = a[0:4]
- url = f"{areacode}/{caveid}.html" # Note we are appending the .html as we are believe in backwards compatability.
+ url = f"{areacode}/{caveid}.html" # Note we are appending the .html as we are believe in backwards compatability. This is to fix Martin's new 2023 app.
else:
print(f"WARNING: parsers/caves/create_new_cave called with svxpath '{svxpath}'. Surely it should start 'caves-162*'? {msg}")
areacode = "1623"
@@ -228,7 +228,8 @@ def do_pending_cave(slug, caveid, url, areacode, msg=None):
def get_survex_file(k):
"""Guesses at and finds a survex file for this pending cave.
- Convoluted. Needs rewriting
+ Convoluted. Needs rewriting.
+ Pointless if this cave is being created because we found a survex file...
"""
if k[0:3] == "162":
id = Path(k[5:])
diff --git a/templates/dataformat/cave.xml b/templates/dataformat/cave.xml
index e7f12e684..3f132c3f8 100644
--- a/templates/dataformat/cave.xml
+++ b/templates/dataformat/cave.xml
@@ -45,7 +45,7 @@ code used in the Austrian kataster e.g '1/S +' - https://expo/.survex.com/katast
{% endfor %}
{{ cave.explorers|default_if_none:""|safe }}
-{{ cave.survex_file|default_if_none:"caves-1623/000/000.svx"|safe }}
+{{ cave.survex_file|default_if_none:"caves-1623/000/000.svx"|safe }}
{{ cave.underground_description|default_if_none:""|safe }}
{{ cave.equipment|default_if_none:""|safe }}
{{ cave.references|default_if_none:""|safe }}