2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 15:47:03 +00:00

tests now work again

This commit is contained in:
2023-10-05 15:33:01 +03:00
parent ed993761a1
commit 207513b8b5
4 changed files with 12 additions and 11 deletions

View File

@@ -117,8 +117,7 @@ class Person(TroggleModel):
max_expo_val = int(max_expo_year["year__max"]) + 1
for personexpedition in self.personexpedition_set.all():
if not personexpedition.is_guest:
notability += Decimal(1) / (max_expo_val - int(personexpedition.expedition.year))
notability += Decimal(1) / (max_expo_val - int(personexpedition.expedition.year))
return notability
def bisnotable(self):