From 9dfe7ae7b138721778f8dfca9c03a68a82be403c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 9 Nov 2017 05:10:15 +0100 Subject: [PATCH] Need to pass device too --- runbullet/backend/pushbullet/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runbullet/backend/pushbullet/__init__.py b/runbullet/backend/pushbullet/__init__.py index a55eb4a3d6..a8560d4557 100644 --- a/runbullet/backend/pushbullet/__init__.py +++ b/runbullet/backend/pushbullet/__init__.py @@ -5,8 +5,9 @@ import websocket from .. import Backend class PushbulletBackend(Backend): - def _init(self, token): + def _init(self, token, device=None): self.token = token + self.device = device @staticmethod def _on_init(ws):