diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-09-20 01:02:06 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-09-20 01:02:06 +0300 |
commit | 61f9863a068a0e2d128a100088cf42c0c61c97ab (patch) | |
tree | 567baea54e0f3f4ef0f54842588fbdf558a2dc4f /core/views/scans.py | |
parent | 47878d264b05aaed621be6dfa52887fa4fe76cb4 (diff) | |
download | troggle-61f9863a068a0e2d128a100088cf42c0c61c97ab.tar.gz troggle-61f9863a068a0e2d128a100088cf42c0c61c97ab.tar.bz2 troggle-61f9863a068a0e2d128a100088cf42c0c61c97ab.zip |
bug fixes and coping with a list of cave ids in JSON
Diffstat (limited to 'core/views/scans.py')
-rw-r--r-- | core/views/scans.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |