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

renaming aliases

This commit is contained in:
2024-07-02 02:18:09 +03:00
parent 8e1cf1021d
commit e432098f6a
2 changed files with 40 additions and 26 deletions

View File

@@ -515,7 +515,7 @@ def GetCaveLookup():
checkcaveid(cave, unoffn)
if cave.filename:
# this is the slug - usually.. but usually done as as f'{cave.area}-{cave.kataster_number}'
# this is the slug - or should be
fn = cave.filename.replace(".html", "").lower()
checkcaveid(cave, fn)
@@ -711,9 +711,15 @@ def GetCaveLookup():
("hc", "2018-dm-07"),
("loveshack", "1626-2018-ad-03"),
("crushed-garlic", "1626-2018-ad-03"),
("BuzzardHole", "1626-2023-buzzardhole"),
("2023-BuzzardHole", "1626-2023-buzzardhole"),
("1626-2023-BuzzardHole", "1626-2023-buzzardhole"),
# Renaming cave ids which end in a letter
("1623-2002-XX", "1623-2002-FB-01"),
("1623-2002-X09B", "1623-2002-XB09"),
("1623-2007-neu", "1623-2007-NEU-01"),
("BuzzardHole", "1626-2023-BZ-01"),
("2023-BuzzardHole", "1626-2023-BZ-01"),
("1626-2023-BuzzardHole", "1626-2023-BZ-01"),
("1626-2023-buzzardhole","1626-2023-BZ-01"),
]