fix: Unreferenced variables if no address given
All checks were successful
Build Docker / Build SLDs Image (push) Successful in 17s
Build Docker / Build Main Image (push) Successful in 19s

This commit is contained in:
Nathan Woodburn 2023-11-20 11:54:29 +11:00
parent b805c3e655
commit fa5915b0df
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -73,6 +73,9 @@ def render(data,db_object):
hns_address = hns
btc_address = btc
eth_address = eth
hns_invert = hns_address
btc_invert = btc_address
eth_invert = eth_address
if hns != "":
hns = "<img src='" + hns_icon + "' width='20px' height='20px' style='margin-right: 5px;'>" + hns
hns_invert = "<img src='" + hns_icon_invert + "' width='20px' height='20px' style='margin-right: 5px;'>" + hns_address