From 61f9863a068a0e2d128a100088cf42c0c61c97ab Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 20 Sep 2022 01:02:06 +0300 Subject: bug fixes and coping with a list of cave ids in JSON --- core/views/scans.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/views/scans.py') diff --git a/core/views/scans.py b/core/views/scans.py index ceda72b..f641423 100644 --- a/core/views/scans.py +++ b/core/views/scans.py @@ -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): -- cgit v1.2.3