summaryrefslogtreecommitdiffstats
path: root/core/models/survex.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-08-06 22:23:39 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-08-06 22:23:39 +0300
commitf33c6cc0570fc409f2928b5cbda2f79dbcf0b99f (patch)
tree6488c1d620e768da7443e4ec93f07bd23a0416e1 /core/models/survex.py
parent186eb20fb30b387f006791577519dd2734a10b3f (diff)
downloadtroggle-f33c6cc0570fc409f2928b5cbda2f79dbcf0b99f.tar.gz
troggle-f33c6cc0570fc409f2928b5cbda2f79dbcf0b99f.tar.bz2
troggle-f33c6cc0570fc409f2928b5cbda2f79dbcf0b99f.zip
bugfix in new wallet
Diffstat (limited to 'core/models/survex.py')
-rw-r--r--core/models/survex.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/models/survex.py b/core/models/survex.py
index de65611..7e6358c 100644
--- a/core/models/survex.py
+++ b/core/models/survex.py
@@ -254,9 +254,11 @@ class Wallet(models.Model):
def get_ticks(self):
+ ticks = {}
waldata = self.get_json()
if not waldata:
- return {}
+ ticks["W"] = "black"
+ return ticks
ticks = {}
# Initially, are there any required survex files present ?