forked from MarseyWorld/MarseyWorld
remove unused assignment
parent
935cd1d116
commit
567deeeafa
|
@ -222,7 +222,7 @@ def push_notif(uids, title, body, url_or_comment):
|
||||||
def _push_notif_thread(subscriptions, title, body, url):
|
def _push_notif_thread(subscriptions, title, body, url):
|
||||||
for subscription in subscriptions:
|
for subscription in subscriptions:
|
||||||
try:
|
try:
|
||||||
response = webpush(
|
webpush(
|
||||||
subscription_info=json.loads(subscription),
|
subscription_info=json.loads(subscription),
|
||||||
data=json.dumps({
|
data=json.dumps({
|
||||||
"title": title,
|
"title": title,
|
||||||
|
|
Loading…
Reference in New Issue