Change DND keywords
This commit is contained in:
parent
e967d2a79b
commit
87a457a44b
1 changed files with 3 additions and 1 deletions
|
|
@ -16,7 +16,9 @@ def set_android_dnd(active: bool):
|
|||
if url is not None:
|
||||
request.urlopen(
|
||||
request.Request(
|
||||
read_url(), method="POST", data=("on" if active else "off").encode()
|
||||
read_url(),
|
||||
method="POST",
|
||||
data=("DND on" if active else "DND off").encode(),
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue