forked from expo/troggle
populate with people
This commit is contained in:
parent
6c384492be
commit
9aaadafc13
@ -76,10 +76,12 @@ def caveifywallet(w):
|
|||||||
w.displaynames = blocknames
|
w.displaynames = blocknames
|
||||||
|
|
||||||
def fillblankpeople(w):
|
def fillblankpeople(w):
|
||||||
|
# this isn't working..? why?
|
||||||
wp = w.people()
|
wp = w.people()
|
||||||
if not wp: # an -empty list
|
if not wp: # an -empty list
|
||||||
populatewallet(w)
|
populatewallet(w)
|
||||||
else:
|
else:
|
||||||
|
w.persons = wp
|
||||||
if len(wp) == 1:
|
if len(wp) == 1:
|
||||||
nobody = wp[0].lower()
|
nobody = wp[0].lower()
|
||||||
if nobody == 'unknown' or nobody == 'nobody' or nobody == ' ':
|
if nobody == 'unknown' or nobody == 'nobody' or nobody == ' ':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user