feat(itho-wpu): populate IthoWPU object with nodeid, datatype
These are required to look up information in the database related to your WPU version.
This commit is contained in:
parent
ff149eba6a
commit
1f8eca43f6
|
@ -173,6 +173,8 @@ class IthoWPU():
|
|||
self._q = queue.Queue()
|
||||
self.no_cache = no_cache
|
||||
self.cache = IthoWPUCache()
|
||||
self.nodeid = self.get('getnodeid')
|
||||
self.datatype = self.get('getdatatype')
|
||||
|
||||
def get(self, action):
|
||||
if not self.no_cache:
|
||||
|
|
Loading…
Reference in New Issue