summaryrefslogtreecommitdiffstats
path: root/core/views/scans.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-09-20 01:02:06 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-09-20 01:02:06 +0300
commit61f9863a068a0e2d128a100088cf42c0c61c97ab (patch)
tree567baea54e0f3f4ef0f54842588fbdf558a2dc4f /core/views/scans.py
parent47878d264b05aaed621be6dfa52887fa4fe76cb4 (diff)
downloadtroggle-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.py4
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):