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>"
|
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
||||||
WORKDIR /home
|
WORKDIR /home
|
||||||
COPY . .
|
COPY . .
|
||||||
|
@ -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',
|
||||||
|
Reference in New Issue
Block a user