2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 07:47:13 +00:00

minor refactoring

This commit is contained in:
Philip Sargent
2022-08-16 17:42:37 +03:00
parent 1a49e5347f
commit aaba4fd2a9
3 changed files with 26 additions and 19 deletions

View File

@@ -257,6 +257,13 @@ class Wallet(models.Model):
ticks = {}
waldata = self.get_json()
if not waldata:
ticks["S"] = "black"
ticks["C"] = "black"
ticks["Q"] = "black"
ticks["N"] = "black"
ticks["P"] = "black"
ticks["E"] = "black"
ticks["T"] = "black"
ticks["W"] = "black"
return ticks
ticks = {}