mirror of
https://github.com/unixtensor/proxmox-ntfy.git
synced 2025-06-28 12:48:06 +00:00
Use requests
module instead of curl and use python3 main.py server.com
instead of --server=server.com
This commit is contained in:
@ -2,7 +2,6 @@ import argparse
|
||||
|
||||
def interface():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("--server", required=True, help="")
|
||||
parser.add_argument("--cpu-temp-critical", type=int, default=80, help="cpu tempature crtitical. default = 80")
|
||||
parser.add_argument("--cpu-temp-warning", type=int, default=70, help="cpu tempature warning. default = 70")
|
||||
parser.add_argument("--update-rate", type=int, default=1, help="how often updates happen in seconds. default = 1")
|
||||
|
Reference in New Issue
Block a user