It works now

This commit is contained in:
Michael Rodin 2023-09-02 14:25:00 +02:00
parent 9c9c0b53c1
commit c4f146aa4c
2 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,8 @@
if __name__ == '__main__':
print("This is not a script!")
exit()
UPTIME_KUMA_ADMIN_USER='admin'
UPTIME_KUMA_ADMIN_PASSWORD='admin'
UPTIME_KUMA_ADMIN_PASSWORD='admin123'
UPTIME_KUMA_URL='https://status.example.com'
UPTIME_KUMA_OUT='/path/to/file.html'
UPTIME_KUMA_OUT='/path/to/file.html'

View file

@ -1,5 +1,6 @@
#! /bin/python3
import json,env
import json
from env import *
from uptime_kuma_api import UptimeKumaApi, MonitorType
descriptions = {