2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 18:37:18 +00:00

formatting

This commit is contained in:
2023-09-10 17:28:13 +03:00
parent 9d6552ea22
commit 47db19f1a2
3 changed files with 5 additions and 6 deletions

View File

@@ -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