summaryrefslogtreecommitdiffstats
path: root/parsers/logbooks.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsers/logbooks.py')
-rw-r--r--parsers/logbooks.py19
1 files changed, 1 insertions, 18 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py
index bb592f3..1d23215 100644
--- a/parsers/logbooks.py
+++ b/parsers/logbooks.py
@@ -125,24 +125,7 @@ def GetTripPersons(trippeople, expedition, logtime_underground, tid=None):
if tripperson and tripperson[0] != "*":
tripperson = re.sub(rx_round_bracket, "", tripperson).strip()
- # these aliases should be moved to people.py GetPersonExpeditionNameLookup(expedition)
- if tripperson == "Wiggy":
- tripperson = "Phil Wigglesworth"
- if tripperson == "Animal":
- tripperson = "Mike Richardson"
- if tripperson == "MikeTA":
- tripperson = "Mike Richardson"
- if tripperson == "CavingPig":
- tripperson = "Elaine Oliver"
- if tripperson == "nobrotson":
- tripperson = "Rob Watson"
- if tripperson == "Tinywoman":
- tripperson = "Nadia"
- if tripperson == "tcacrossley":
- tripperson = "Tom Crossley"
- if tripperson == "Samouse1":
- tripperson = "Todd Rye"
-
+ # Whacky aliases all handled in GetPersonExpeditionNameLookup()
personyear = GetPersonExpeditionNameLookup(expedition).get(tripperson.lower())
if not personyear:
message = f" ! - {expedition.year} No name match for: '{tripperson}' in entry {tid=} for this expedition year."