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

Oups

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@1953 b32b6428-25c9-4566-ad07-03861ab6144f
parent f2888477
No related branches found
No related tags found
No related merge requests found
from __future__ import print_function
from xaal.lib import Device,tools
from xaal.lib import Device,Engine,tools
import logging
import platform
from . import HTU21D
......@@ -37,7 +37,7 @@ class GW:
self.engine = engine
self.config()
self.setup()
def config(self):
cfg = tools.load_cfg(PACKAGE_NAME)
if not cfg:
......@@ -68,7 +68,7 @@ class GW:
smooth(self.hum,round(self.sensor.read_humidity(),0),1)
def run():
eng = xaal.lib.Engine()
eng = Engine()
gw = GW(eng)
eng.run()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment