added missing ) again
This commit is contained in:
parent
367463cfb2
commit
2d23c6cffc
|
@ -18,7 +18,7 @@ HTMLTEMPLATE='<a class="item" href="{link}"><div id="{item}" class="item"><h2 cl
|
|||
htmllist=[]
|
||||
htmllist.append(HTMLTEMPLATE.format(link=os.environ.get('UPTIME_KUMA_URL'),item="Uptime Kuma",desc=descriptions["Uptime Kuma"]))
|
||||
|
||||
with UptimeKumaApi(os.environ.get('UPTIME_KUMA_URL') as api:
|
||||
with UptimeKumaApi(os.environ.get('UPTIME_KUMA_URL')) as api:
|
||||
api.login(os.environ.get('UPTIME_KUMA_ADMIN_USER'),os.environ.get('UPTIME_KUMA_ADMIN_PASSWORD'))
|
||||
for item in api.get_monitors():
|
||||
if item["name"] in exclude or item["type"] == MonitorType.GROUP:
|
||||
|
|
Loading…
Reference in a new issue