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

init => setup

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2067 b32b6428-25c9-4566-ad07-03861ab6144f
parent 17b76ea9
Branches
No related tags found
No related merge requests found
from .gw import init
from .gw import setup
......@@ -3,7 +3,7 @@ from xaal.lib import Engine
def main():
eng = Engine()
gw.init(eng)
gw.setup(eng)
eng.run()
if __name__ == '__main__':
......
......@@ -99,6 +99,8 @@ class GW:
logger.info('Saving configuration file')
self.cfg.write()
def init(engine):
def setup(engine):
gw = GW(engine)
return gw
return True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment