Skip to content

Some fixes #23

@john8329

Description

@john8329
  1. API should be declared outside try block or it won't be seen by finally
api = UptimeKumaApi(BASE_URL)

try:
...
  1. It should ignore inactive monitors
    monitor_total = 0;
...
    for monitor in monitor_list:
        if not monitor['active']:
            continue
...
        monitor_list_string.append(text)
        monitor_total+=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions