feat: Hide addresses not in use
All checks were successful
Build Docker / Build Main Image (push) Successful in 19s
Build Docker / Build SLDs Image (push) Successful in 18s

This commit is contained in:
2023-11-15 21:27:03 +11:00
parent ee49e8341c
commit 178b8ec597
2 changed files with 10 additions and 3 deletions

View File

@@ -29,6 +29,13 @@ def render(data,db_object):
hns = db_object['HNS']
btc = db_object['BTC']
eth = db_object['ETH']
if hns != "":
hns = "HNS: " + hns
if btc != "":
btc = "BTC: " + btc
if eth != "":
eth = "ETH: " + eth
bg_colour = db_object['bg_colour']
fg_colour = db_object['fg_colour']
text_colour = db_object['text_colour']