diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-09-15 10:20:01 +0200 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-09-15 10:20:01 +0200 |
commit | 29879fdde29161b2a315488467bb934e45c94a6d (patch) | |
tree | 30757222ff3e12f90a18bc0cf4f2b258aee7dbab /parsers/caves.py | |
parent | 7ddf7fe373735cdf20f670c06a1a6fc282406252 (diff) | |
download | troggle-29879fdde29161b2a315488467bb934e45c94a6d.tar.gz troggle-29879fdde29161b2a315488467bb934e45c94a6d.tar.bz2 troggle-29879fdde29161b2a315488467bb934e45c94a6d.zip |
fix comment
Diffstat (limited to 'parsers/caves.py')
-rw-r--r-- | parsers/caves.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/parsers/caves.py b/parsers/caves.py index f4bcf84..e7eebb4 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:]) |