summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
Diffstat (limited to 'parsers')
-rw-r--r--parsers/caves.py4
-rw-r--r--parsers/survex.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/parsers/caves.py b/parsers/caves.py
index 34a2301..70f92cb 100644
--- a/parsers/caves.py
+++ b/parsers/caves.py
@@ -174,8 +174,8 @@ def do_ARGE_cave(slug, caveid, url, areacode, svxid):
cave = Cave(
underground_description="ARGE cave.",
- survex_file= f"{svxid}.svx",
- url=url,
+ survex_file= f"{svxid}.svx", # or is this svxurl ?!
+ # url=url, No, the url spplied is that of the survexfile not of the cave file, e.g. /1626/254/254
notes=default_note,
areacode=areacode,
)
diff --git a/parsers/survex.py b/parsers/survex.py
index 96b2e4a..1493a22 100644
--- a/parsers/survex.py
+++ b/parsers/survex.py
@@ -1195,7 +1195,7 @@ class LoadingSurvex:
area = path_match.group(1)
caveid = path_match.group(2)
sluggy = f"{area}-{caveid}"
- seek = [sluggy, sluggy.replace("1623-","")] # to catch '2023-kt-02' etc
+ seek = [sluggy, sluggy.replace("1623-","")] # to catch '2023-kt-02' etc . 3-digit searches only work for 1623 area
for s in seek:
if s in self.caveslist:
self.caveslist[cavepath] = self.caveslist[s] # set "caves-1626/107/107" as index to cave 1626-107