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:
parent
9bb5a659a8
commit
dc863f11b1
@ -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 = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user