mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 12:27:05 +00:00
fix comment
This commit is contained in:
@@ -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:])
|
||||
|
||||
Reference in New Issue
Block a user