mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
Digging out failed name recognition
This commit is contained in:
parent
6950fc1d1d
commit
eae919e5b2
@ -211,9 +211,9 @@ def walletslistperson(request, slug):
|
||||
pass
|
||||
else:
|
||||
wurl = f"/walletedit/{w.walletname.replace('#',':')}"
|
||||
message = f"{w} name '{n}' NOT found with GetPersonExpeditionNameLookup on {year} ?!"
|
||||
message = f"{w} name '{n.lower()}' NOT found in GetPersonExpeditionNameLookup({year}) ?!"
|
||||
print(message)
|
||||
DataIssue.objects.update_or_create(parser="scans", message=message, url=wurl)
|
||||
DataIssue.objects.update_or_create(parser="wallets", message=message, url=wurl)
|
||||
|
||||
for w in manywallets:
|
||||
fillblankpeople(w)
|
||||
|
@ -312,6 +312,8 @@ def GetPersonExpeditionNameLookup(expedition):
|
||||
|
||||
if f == "Michael".lower():
|
||||
possnames += apply_variations("Mike", l)
|
||||
if f == "Mike".lower():
|
||||
possnames += apply_variations("Michael", l)
|
||||
|
||||
if f == "David".lower():
|
||||
possnames += apply_variations("Dave", l)
|
||||
|
Loading…
Reference in New Issue
Block a user