From 41b15797858276719551552d95ced80ecb2e601d Mon Sep 17 00:00:00 2001 From: timotheyca Date: Sun, 23 Aug 2020 00:11:20 +0300 Subject: [PATCH] !return code --- v25/storage/dbstorage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v25/storage/dbstorage.py b/v25/storage/dbstorage.py index 2ad82fe..62af5dc 100644 --- a/v25/storage/dbstorage.py +++ b/v25/storage/dbstorage.py @@ -342,7 +342,7 @@ class DBStorage(PushStorage): @staticmethod def pushsubscription(subscription: dict): - assert run(["node", "v25pushx/push.js"], input=json.dumps({ + assert not run(["node", "v25pushx/push.js"], input=json.dumps({ "subscription": subscription, "notification": { "notification": {