2 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
9b96af09a3 Update python Docker tag to v3.13
Some checks failed
Conventional Commit / validate_pr_title (pull_request) Failing after 4s
Release / Create Release (push) Successful in 11s
Release / Print Release (push) Successful in 3s
2025-03-23 20:47:15 +00:00
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM python:3.11-slim FROM python:3.13-slim
LABEL maintainer="Luke Tainton <luke@tainton.uk>" LABEL maintainer="Luke Tainton <luke@tainton.uk>"
WORKDIR /home WORKDIR /home
COPY . . COPY . .

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',