fix missing paren

This commit is contained in:
forest 2021-02-17 21:46:46 -06:00
parent 2cca908d79
commit fa0ddad5f5
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ def index():
size=x['size'],
state=x['state'],
ipv4=(x['ipv4'] if x['ipv4'] else ("..booting.." if vm["state"] == "running" else "unknown")),
ipv4_status=("ok" if x['ipv4'] else ("waiting-pulse" if vm["state"] == "running" else "yellow"),
ipv4_status=("ok" if x['ipv4'] else ("waiting-pulse" if vm["state"] == "running" else "yellow")),
os=x['os'],
created=x['created'].strftime("%b %d %Y")
), vms