From dc863f11b1db24afa94d50964971961a100c7f94 Mon Sep 17 00:00:00 2001 From: Andrey Pohilko Date: Fri, 29 Dec 2017 10:41:33 +0300 Subject: [PATCH] Fix bug of not connected --- pylgbst/movehub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylgbst/movehub.py b/pylgbst/movehub.py index c9091c1..cc3f4de 100644 --- a/pylgbst/movehub.py +++ b/pylgbst/movehub.py @@ -37,7 +37,7 @@ class MoveHub(object): def __init__(self, connection=None): if not connection: - connection = BLEConnection() + connection = BLEConnection().connect() self.connection = connection self.info = {}