Compare commits

...

1 Commits

Author SHA1 Message Date
ab7ebb7f17
Print payload
All checks were successful
Release / Create Release (push) Successful in 13s
Release / Print Release (push) Successful in 3s
2025-03-23 21:03:56 +00:00

View File

@ -51,6 +51,11 @@ def main():
payload['priority'] = priority payload['priority'] = priority
if sound: if sound:
payload['sound'] = sound payload['sound'] = sound
_printable_payload = payload.copy()
_printable_payload['token'] = '***'
_printable_payload['user'] = '***'
print(_printable_payload)
response = requests.post( response = requests.post(
url='https://api.pushover.net/1/messages.json', url='https://api.pushover.net/1/messages.json',