1
0
mirror of https://github.com/undera/pylgbst.git synced 2020-11-18 19:37:26 -08:00

Fix bug of not connected

This commit is contained in:
Andrey Pohilko 2017-12-29 10:41:33 +03:00
parent 9bb5a659a8
commit dc863f11b1

View File

@ -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 = {}