Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
ab7ebb7f17
|
|||
9b96af09a3 |
@ -1,4 +1,4 @@
|
||||
FROM python:3.11-slim
|
||||
FROM python:3.13-slim
|
||||
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
||||
WORKDIR /home
|
||||
COPY . .
|
||||
|
@ -51,6 +51,11 @@ def main():
|
||||
payload['priority'] = priority
|
||||
if sound:
|
||||
payload['sound'] = sound
|
||||
|
||||
_printable_payload = payload.copy()
|
||||
_printable_payload['token'] = '***'
|
||||
_printable_payload['user'] = '***'
|
||||
print(_printable_payload)
|
||||
|
||||
response = requests.post(
|
||||
url='https://api.pushover.net/1/messages.json',
|
||||
|
Reference in New Issue
Block a user