bug fixes and coping with a list of cave ids in JSON

This commit is contained in:
Philip Sargent
2022-09-20 01:02:06 +03:00
parent 47878d264b
commit 61f9863a06
4 changed files with 24 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ def fillblankpeople(w):
w.persons = wp
if len(wp) == 1:
nobody = wp[0].lower()
if nobody == 'unknown' or nobody == 'nobody' or nobody == ' ':
if nobody == 'unknown' or nobody == 'nobody' or nobody == ' ' or nobody == '':
populatewallet(w)
def fillblankothers(w):
@@ -93,7 +93,7 @@ def fillblankothers(w):
datewallet(w, earliest)
c = w.cave()
if not c:
if not c or c == "":
caveifywallet(w)
def fixsurvextick(w, ticks):