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

gw normalize

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2016 b32b6428-25c9-4566-ad07-03861ab6144f
parent ec0ac33e
Branches
No related tags found
No related merge requests found
from . import gateway
gateway.main()
from xaal.lib import Engine
from . import gw
def main():
eng = Engine()
gw.setup(eng)
eng.run()
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
print("Bye Bye..")
\ No newline at end of file
......@@ -147,18 +147,9 @@ class GW:
###########################################################################################
def run():
eng = Engine()
log = GW(eng)
eng.run()
def main():
try:
run()
except KeyboardInterrupt:
print("Bye Bye..")
def setup(engine):
GW(engine)
return True
if __name__ == '__main__':
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment