It works now
This commit is contained in:
parent
9c9c0b53c1
commit
c4f146aa4c
|
@ -1,4 +1,8 @@
|
||||||
|
if __name__ == '__main__':
|
||||||
|
print("This is not a script!")
|
||||||
|
exit()
|
||||||
|
|
||||||
UPTIME_KUMA_ADMIN_USER='admin'
|
UPTIME_KUMA_ADMIN_USER='admin'
|
||||||
UPTIME_KUMA_ADMIN_PASSWORD='admin'
|
UPTIME_KUMA_ADMIN_PASSWORD='admin123'
|
||||||
UPTIME_KUMA_URL='https://status.example.com'
|
UPTIME_KUMA_URL='https://status.example.com'
|
||||||
UPTIME_KUMA_OUT='/path/to/file.html'
|
UPTIME_KUMA_OUT='/path/to/file.html'
|
|
@ -1,5 +1,6 @@
|
||||||
#! /bin/python3
|
#! /bin/python3
|
||||||
import json,env
|
import json
|
||||||
|
from env import *
|
||||||
from uptime_kuma_api import UptimeKumaApi, MonitorType
|
from uptime_kuma_api import UptimeKumaApi, MonitorType
|
||||||
|
|
||||||
descriptions = {
|
descriptions = {
|
||||||
|
|
Loading…
Reference in a new issue