fix missing paren
This commit is contained in:
parent
2cca908d79
commit
fa0ddad5f5
@ -74,7 +74,7 @@ def index():
|
|||||||
size=x['size'],
|
size=x['size'],
|
||||||
state=x['state'],
|
state=x['state'],
|
||||||
ipv4=(x['ipv4'] if x['ipv4'] else ("..booting.." if vm["state"] == "running" else "unknown")),
|
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'],
|
os=x['os'],
|
||||||
created=x['created'].strftime("%b %d %Y")
|
created=x['created'].strftime("%b %d %Y")
|
||||||
), vms
|
), vms
|
||||||
|
Loading…
Reference in New Issue
Block a user