diff --git a/core/views/scans.py b/core/views/scans.py index 62251de..4263c2c 100644 --- a/core/views/scans.py +++ b/core/views/scans.py @@ -215,13 +215,11 @@ def walletslistperson(request, slug): if w in manywallets: # we already know this is a wallet we need to report on continue + if not w.people(): # bug? skip + # msg = f"{w} no w.people() found " + # print(msg) + continue for n in w.people(): - # if n.lower().startswith("lydia"): - # print(f"{w} {n=} ") - # for x in crew: - # if x.lower()==n.lower(): - # print(f"{w} {n=} {x=}") - if n.lower() in crew: if crew[n.lower()] == person_expo: manywallets.add(w) @@ -248,7 +246,7 @@ def walletslistperson(request, slug): expeditions = Expedition.objects.all() length_ug = 0.0 for w in manywallets: - print(w.persons) + print(f"{w}: no .persons in this wallet but people() is {w.people()}") for sb in w.survexblock_set.all(): length_ug += sb.legslength return render(