Need to pass device too

This commit is contained in:
Fabio Manganiello 2017-11-09 05:10:15 +01:00
parent a91ad43a30
commit 9dfe7ae7b1
1 changed files with 2 additions and 1 deletions

View File

@ -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):