mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +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
|
pass
|
||||||
else:
|
else:
|
||||||
wurl = f"/walletedit/{w.walletname.replace('#',':')}"
|
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)
|
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:
|
for w in manywallets:
|
||||||
fillblankpeople(w)
|
fillblankpeople(w)
|
||||||
|
@ -312,6 +312,8 @@ def GetPersonExpeditionNameLookup(expedition):
|
|||||||
|
|
||||||
if f == "Michael".lower():
|
if f == "Michael".lower():
|
||||||
possnames += apply_variations("Mike", l)
|
possnames += apply_variations("Mike", l)
|
||||||
|
if f == "Mike".lower():
|
||||||
|
possnames += apply_variations("Michael", l)
|
||||||
|
|
||||||
if f == "David".lower():
|
if f == "David".lower():
|
||||||
possnames += apply_variations("Dave", l)
|
possnames += apply_variations("Dave", l)
|
||||||
|
Loading…
Reference in New Issue
Block a user