mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 07:47:13 +00:00
Parser fixed to work on 2023 UKcaving blog
This commit is contained in:
@@ -162,7 +162,7 @@ foreign_friends = [
|
||||
def known_foreigner(id):
|
||||
"""If this someone from ARGE or a known Austrian? Name has to be exact, no soft matching
|
||||
|
||||
APPARENTLY NOT YET USED
|
||||
APPARENTLY NOT YET USED? Yes it is: in logbook Blog parsing
|
||||
instead foreigners have names prefixed by * in the logbook.html ?"""
|
||||
global foreign_friends
|
||||
|
||||
@@ -321,6 +321,12 @@ def GetPersonExpeditionNameLookup(expedition):
|
||||
possnames.append("nobrotson")
|
||||
if f"{f} {l}" == "Todd Rye".lower():
|
||||
possnames.append("samouse1")
|
||||
if f"{f} {l}" == "Jono Lester".lower():
|
||||
possnames.append("ILoveCaves")
|
||||
if f"{f} {l}" == "Joel Stobbart".lower():
|
||||
possnames.append("El Stobbarto")
|
||||
if f"{f} {l}" == "Rob Watson".lower():
|
||||
possnames.append("nobrotson")
|
||||
|
||||
for i in [3, 4, 5, 6]:
|
||||
lim = min(i, len(f) + 1) # short form, e.g. Dan for Daniel.
|
||||
|
||||
Reference in New Issue
Block a user