2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-01-31 15:32:35 +00:00

populate with people

This commit is contained in:
Philip Sargent 2022-08-25 17:29:57 +03:00
parent 6c384492be
commit 9aaadafc13

View File

@ -76,10 +76,12 @@ def caveifywallet(w):
w.displaynames = blocknames
def fillblankpeople(w):
# this isn't working..? why?
wp = w.people()
if not wp: # an -empty list
populatewallet(w)
else:
w.persons = wp
if len(wp) == 1:
nobody = wp[0].lower()
if nobody == 'unknown' or nobody == 'nobody' or nobody == ' ':