mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 11:57:07 +00:00
populate with people
This commit is contained in:
@@ -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 == ' ':
|
||||||
|
|||||||
Reference in New Issue
Block a user