2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-19 00:57:05 +00:00

SPecial links for Lara

This commit is contained in:
2025-08-01 21:11:59 +02:00
parent 0bbb0a5173
commit 579389589b
3 changed files with 14 additions and 2 deletions

View File

@@ -262,7 +262,7 @@ def ensure_users_are_persons():
# print(f" {p.user} {u=}")
def who_is_this(year, possibleid):
expo = Expedition.objects.filter(year=year)
expo = Expedition.objects.filter(year=year)[0]
personexpedition = GetPersonExpeditionNameLookup(expo)[possibleid.lower()]
if personexpedition:
return personexpedition.person