Skip to content
Snippets Groups Projects
Commit c52bc78e authored by jkerdreu's avatar jkerdreu
Browse files

changed started.

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1532 b32b6428-25c9-4566-ad07-03861ab6144f
parent 3f62f4fb
No related branches found
No related tags found
No related merge requests found
......@@ -287,6 +287,8 @@ class Engine(object):
def start(self):
"""Start the core engine: send queue alive msg"""
if self.started:
return
self.network.connect()
for dev in self.devices:
self.send_alive(dev)
......@@ -297,7 +299,6 @@ class Engine(object):
self.running = False
def run(self):
if not self.started:
self.start()
self.running = True
while self.running:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment