2022-10-30 23:27:08 -05:00
|
|
|
import pushover
|
|
|
|
from tomllib import load
|
|
|
|
|
|
|
|
with open('./config.toml', mode="rb") as c:
|
|
|
|
config = load(c)
|
|
|
|
|
|
|
|
po_key = config["pushover"]["po_key"]
|
|
|
|
po_token = config["pushover"]["po_token"]
|
|
|
|
|
|
|
|
message = "hello"
|
|
|
|
|
2023-01-09 23:27:11 -06:00
|
|
|
# pushover.Pushover(po_token).message(po_key, message, title="--- crane summary ---")
|